So, thanks to lassev i know how to switch effects on and of, how to move func_statics, and even know how to switch doors on and off with scripting. But still, i want to script more.
My first problem, my script are good. I even tested them. But somehow i wont get them running ingame. I have the checkbox inactive switched on. I have gived the FX_runner the key:
'fxFile'
and the value:
'bolts1'
(This is completly right because the script is called 'bolts1')
Then i target a trigger_once at the fx runner. But somehow, when i walk through the trigger it wont activate the fx_runner.
Why?
Then my second quistion.
I have build a map with a door, behind the door 3 NPC_spawners and 3 navgoals to let them run to.
The door is called 'door_alarm1' (with targetname ofcourse) the NPC spawners are called 'enemy1, 'enemy2' and 'enemy3' (with targetname). And the navgoals are called: 'navgoal1', 'navgoal2' and 'navgoal3'. Now, when the door opens, i want the 3 NPC's to run to the navgoals and after that attack the player. Can someone please give me a step, by step tutorial about how to do this. Because i have just very little knowledge about scripting and i just want to be as good as lassev (he is my god in scripting )
It would be nice if these longwinded quistions (and nOObish quistions) could be anwserd
My first problem, my script are good. I even tested them. But somehow i wont get them running ingame. I have the checkbox inactive switched on. I have gived the FX_runner the key:
'fxFile'
and the value:
'bolts1'
(This is completly right because the script is called 'bolts1')
Then i target a trigger_once at the fx runner. But somehow, when i walk through the trigger it wont activate the fx_runner.
Why?
Then my second quistion.
I have build a map with a door, behind the door 3 NPC_spawners and 3 navgoals to let them run to.
The door is called 'door_alarm1' (with targetname ofcourse) the NPC spawners are called 'enemy1, 'enemy2' and 'enemy3' (with targetname). And the navgoals are called: 'navgoal1', 'navgoal2' and 'navgoal3'. Now, when the door opens, i want the 3 NPC's to run to the navgoals and after that attack the player. Can someone please give me a step, by step tutorial about how to do this. Because i have just very little knowledge about scripting and i just want to be as good as lassev (he is my god in scripting )
It would be nice if these longwinded quistions (and nOObish quistions) could be anwserd