Ok, I dont frequent the scripting section often but I could do with some assistance....
Right I want to have explosions whilst running down the street, I'm familiar with the exploder script but my question is:
How do I trigger an explosion when I reach a certain point, obviously this I would assume is using the trigger but is it trigger multiple,trigger use (I doubt it)..I just am unclear.
If it was for instance trigger whatever, then I assume that the target name would aim towards the explosion.
As said I'm familiar with an objective explosion but I simply want an explosion to occur when I pass a certain point in the map.
Any simple to understand answer would be much appreciated.
Little clarification pls :)
Moderator: Moderators
You can spawn a trigger_multiple and run a thread with setthread . To make an explosion just use something like this
exec global/model.scr ( <coords> ) <explosion model> <scale>
where you see the < and > put in your values but all you need is the coords if you don't set a model it uses models/emitters/explosion_mine and you do not have to set a scale . If you only want 1 explosion then put
self remove
in your thread that will delete the trigger or you can use a trigger_once I belive but I have never used it before .
exec global/model.scr ( <coords> ) <explosion model> <scale>
where you see the < and > put in your values but all you need is the coords if you don't set a model it uses models/emitters/explosion_mine and you do not have to set a scale . If you only want 1 explosion then put
self remove
in your thread that will delete the trigger or you can use a trigger_once I belive but I have never used it before .
Exploder
Maybe you missed this part of the exploder script.
In other words, You can create a bunch of trigger_multiple all target named "explodertrigger". Then add a #set value (like you do for the other exploder parts) to tell each trigger which exploder to set off.You can create an explodertrigger (with the same #set), or just do "thread global/exploder.scr::explode #" (# being the #set value of the exploder in question).

