
DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Apr 26, 2009 11:26 PM
Msg. 1 of 7
Okay I use the ai_command script thats not the problem I was wondering once the command is used in a script... it it possible for that ai that has been given a command by the script to be given a different command later with a dormant or later script command?
For Ex script gave ai a command list to do etc..etc then a another script is activated will it replace the ai's current command with a new one?
Hope thats clear :) Thanks
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Apr 27, 2009 02:22 AM
Msg. 2 of 7
yes that is possible. :)
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Apr 27, 2009 02:59 AM
Msg. 3 of 7
So do u know the correct script for that?
Like I know how to script the ai_command_list-script but the trouble it when I use the command again to give that ai another command list It doesnt seem to work?
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Apr 27, 2009 03:03 AM
Msg. 4 of 7
hmm. Well the way i do it is when i have the ai go to a certain place via script. i migrate them to a new encounter (ai_migrate [ai] [ai]) then place the script to command and after they have reachthe destination. Migrate them again to a new encounter and do a new command.
|
|
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Apr 27, 2009 09:20 AM
Msg. 5 of 7
All you need to do is use the ai_command_list command. As far as I know, the AI will switch a new command list when a new command is issued. ai_migrate is unneeded.
(script dormant lolwhut (ai_command_list ai ai) (sleep 600) (ai_command list ai ai2) )
Or something like that. Alternatively, you can combine both command lists into one command list.
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Apr 27, 2009 06:51 PM
Msg. 6 of 7
okay I've been using the ai command list command but when the ai's done waiting...and I reach a tvol_ to assign a different command,,, he does nothing?? Maybe it has to do with one being in one bsp and another in another bsp????
|
|
|

Polamee
Joined: Feb 25, 2008
MP2SPMT's founder
|
Posted: Apr 28, 2009 09:35 AM
Msg. 7 of 7
Quote: --- Original message by: DarkLord0912 okay I've been using the ai command list command but when the ai's done waiting...and I reach a tvol_ to assign a different command,,, he does nothing?? Maybe it has to do with one being in one bsp and another in another bsp???? Yes. You have to assign a manual BSP index to command lists. Go to your commnd list in the properties view, and tick 'manual bsp index' and give it the number of youir BSP (First BSP is 0, Second BSP is 1, Third BSP is 2 etc)
|
|
|