
sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 14, 2008 11:23 PM
Msg. 1 of 12
i need the dormant script for ai to spawn...
|
|
|

Advancebo
Joined: Jan 14, 2008
|
Posted: Nov 14, 2008 11:32 PM
Msg. 2 of 12
commands, pause them for a while, until needed
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 15, 2008 03:21 AM
Msg. 3 of 12
pause them? but how do i make them unpause when you go through a trigger volumn?
if thought people used scripts: what i mean is like biohalo; if you use dev and jump off the building at the start theres no ai unless you go through the buildings
|
|
|

megahalofan12
Joined: May 21, 2008
Xbox Live/Xfire is: matthewdratt
|
Posted: Nov 15, 2008 12:09 PM
Msg. 4 of 12
(ai_place encounter)
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Nov 15, 2008 12:29 PM
Msg. 5 of 12
(script dormant spawn_ai (ai_place "encounter") )
I think this is what you mean. All you have to do is use the command: (wake "script name") Which in this case would be: (wake spawn_ai) This command executes the dormant script, and the dormant script doesn't do anything until it is woken by this command. Once it is run, it can't be run again. So basically use that "wake" command whenever you want that encounter to spawn.
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 15, 2008 03:01 PM
Msg. 6 of 12
ok so for my script i do:
(script dormant spawn_ai (ai_place "enc5_flood") (wake spawn_ai) )
-and how long do i make the pause stay for? (60 sec, 5 min etc.) =)
even though you guys are pretty helpful im kinda asking something else..Its the way bungie spawns ai. you walk through a trigger volumn, and them BAM ai spawn, and if you open the scenarion in a hobo or sapien, the ai arnt on the map.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Nov 15, 2008 03:25 PM
Msg. 7 of 12
No, the dormant script doesn't run by itself, that's the whole point. You have to call the dormant script using the "wake" command from another script when you want the dormant script to run. For example, to get the encounter "enc5_flood" to spawn after the player walks into a trigger volume called "enc5_spawn": (script startup spawn_stuff (sleep_until (volume_test_objects enc5_spawn (players)) 1) (wake enc5_flood_spawn) )
(script dormant enc5_flood_spawn (ai_place enc5_flood) )
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 15, 2008 03:42 PM
Msg. 8 of 12
oh ok so i got the script. and for the command i do?
maybe this: command list -pause for 20 sec -script that references to a script made in the ai section called spawn_ai
and add that command to the squad starting points?
|
|
|

FoxtrotZero
Joined: Aug 3, 2008
Digging Foxholes by Profession
|
Posted: Nov 15, 2008 03:53 PM
Msg. 9 of 12
I was going to explain something logic related.
Skipping that, You have this script, which sets the other script as Dormant. That is that, and you can NOT set a time limit before it reverses itself.
Instead you need a SECOND script, that activates when you walk into a trigger volume. This one UNDOs the dormant script, making the AI script active again, and freely allowing your entity to mindlessly start slaughtering players...
Making sence?
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 15, 2008 04:09 PM
Msg. 10 of 12
i not trying to set a time limit befoe it reverses. yeah and just so you all know its a solo map if that helps. =P, so FoxtrotZero if im getting this right i dont need to make the commands? just have the script and make a script reference called spawn_ai and BAM AND THE DIRT IS GONE , ai spawn (at least when i walk through the trigger volumn)
EDIT: but what if i had more then 1 encounter to spawn. coz i have 18 encounters to spawn and i cant have 18 startup scripts, or can I Edited by sierra117 on Nov 15, 2008 at 04:12 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 15, 2008 06:00 PM
Msg. 11 of 12
You don't need dormant scripts. What I do is instead of "waking" the ai, i just set them to not automatically placed, and place them when you enter the trigger volume
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Nov 15, 2008 06:07 PM
Msg. 12 of 12
ok then what the script u use then? and isnt it not initially created? i already have that box ticked. and dont i need commands (script references?)
|
|
|