

![]() |
| Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above. |
|
CoDUO Mapping ratings:
Extended AI control, Advanced ai/friendly scripting Versions: You must be logged in to view history.
Flipsen explains a more advanced way of controlling your AI
Ok guys, as most of you know, the most basic and easiest
way of having your allies follow you or stay around you, is the friendly
chain.
However, when one gets to more advanced scripting with more heaviliy scripted missions, one will want to have a bit more control over ai. First, you may want to know how to make a guy go to a specific node, for this you need to be able to identify the guy and his node through targetnames or script_noteworthy (works the same as targetname, see quote box)
Below here is a small script that will make our guy go to a specific node
After that, you can put him on the friendly chain again, using the setgoalentity command, as in the example below.
Then, as a last important thing, you may want to know how to ,manually activate a certain friendly chain trigger(that you could hide somewhere in the sky, and activate after a certain event), for that we use the setfriendlychain command:
I have not tested all of this, but it should work! I hope this will help some of you with their singleplayer maps Flipsen |
Members Online
Latest MODSonline Poll
MODSonline Teamspeak
Partners of MODSonline
Friends of MODSonline
|