View Issue Details

IDProjectCategoryView StatusLast Update
0002333The Dark ModAIpublic20.06.2012 22:31
Reportersotha_sil Assigned ToSpringheel  
PrioritynormalSeveritynormalReproducibilityN/A
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.02 
Summary0002333: Path change script for AI
DescriptionNeed a script to change an AI's patrol route to another one.

Add a new script event so when called,the AI forgets its current route, adds the new path node to its patrol and proceeds from there.
TagsNo tags attached.
Attached Files
new_path_test.map (13,888 bytes)

Activities

grayman

grayman

25.08.2010 03:40

viewer   ~0003181

Will this work if an AI is currently not ON a path?

It would be nice to be able to have a conversation between two AI and send them to their paths as they part company. There are already "go to entity" and "go to location" directives in a conversation, but once the AI reaches his destination, he stops and stays there.

At the moment, my WIP has an opening conversation between 2 guards. When finished, one guard remains on station and the other departs. Since I can't push him onto a path at that point, I have to remove him from the game and jumpstart (using a path_waitfortrigger) an identical guard to begin the patrol.
nbohr1more

nbohr1more

27.05.2012 21:06

developer   ~0004633

Can all these functional requirements be met using the atdm:target_changetarget
as described here:

http://forums.thedarkmod.com/topic/13814-changing-ais-patrol-route-after-trigger/

???
grayman

grayman

27.05.2012 21:44

viewer   ~0004634

That would solve my problem, and I suspect Sotha's also, since a new script function wouldn't be needed. Just use an existing "activate" script function on an atdm:target_changetarget to switch networks.

Issue History

Date Modified Username Field Change
03.08.2010 06:43 sotha_sil New Issue
03.08.2010 06:43 sotha_sil File Added: new_path_test.map
04.08.2010 05:43 tels Status new => assigned
04.08.2010 05:43 tels Assigned To => tels
04.08.2010 05:46 tels Target Version => TDM 1.03
25.08.2010 03:40 grayman Note Added: 0003181
25.10.2010 12:21 greebo Target Version TDM 1.03 =>
04.03.2011 17:10 tels Assigned To tels =>
04.03.2011 18:08 tels Status assigned => new
27.05.2012 21:06 nbohr1more Note Added: 0004633
27.05.2012 21:44 grayman Note Added: 0004634
20.06.2012 22:31 Springheel Status new => closed
20.06.2012 22:31 Springheel Assigned To => Springheel
20.06.2012 22:31 Springheel Resolution open => fixed