
ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Nov 23, 2010 10:46 PM
Msg. 1 of 5
Does anyone have a script that spawns AI from a console or a button? I'd like this for my map in a training room. AI would spawn in the designated area and once they die, they die unless the player presses the button on the wall spawning them.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 23, 2010 10:57 PM
Msg. 2 of 5
Would you be able to spawn them if you pressed the button while the AI are still active?
|
|
|

ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Nov 23, 2010 11:05 PM
Msg. 3 of 5
I suppose so...i mean all im looking for is something to spawn them, whether people want to spam it or not is up to them.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Nov 23, 2010 11:19 PM
Msg. 4 of 5
(script continuous buttonpress (sleep_until (= (device_get_position "DEVICE CONTROL") 1) 15) (ai_place "AI ENCOUNTER") (device_set_position "DEVICE CONTROL" 0) )
|
|
|

ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Nov 23, 2010 11:48 PM
Msg. 5 of 5
Thank you very much.
|
|
|