Trigger Question =/
Posted: Fri Dec 13, 2002 10:42 am
Hi Folks !
i've got a probleme with my map =/
Okay, here's the situation :
In my map, there's a detonator that player can use with a "Trigger_useonce" ; for the explosion,
I made a Mortar explosion (animate -> fx -> mortar dirt).
The Trigger_once properties are the following:
#set / 1
classname / trigger_useonce
targetname / explodertrigger
And the 2 Animate_fx_mortar-dirt are :
#set / 1
classname / animate_fx_mortar-dirt
model / animate/fx_mortar_dirt.tik
origin / (values)
targetname / exploderfire
testanim / idle
I've also parametred my .scr, adding the "global/exploder.scr" line, "thread explode1" line, and
afeter the "main:" "end", I added the following :
exploderfire1:
$exploderfire anim start
radiusdamage $exploderfire 200 300
end
..
So, everything works fine, but the explosions detonate at the same time. In my scenario, the explosions are serial explosion, the first detonate at Time A and the second at Time B+1. So,
what can I do ? =/
It's either a Trigger problem or a Script problem.
How can I do to make one single trigger, to start more than 1 Thread event ?
Thanks for me helping me out
Aw, and another question (anoying, uh ??
)
How does the #set <value> works exactly ? In my case, I put "exploder" and "explodertrigger" because it works on a Tutorial i saw. But, can I put any Targetname I want, but if the #set <value> are the same, it'll work anyway ?
i've got a probleme with my map =/
Okay, here's the situation :
In my map, there's a detonator that player can use with a "Trigger_useonce" ; for the explosion,
I made a Mortar explosion (animate -> fx -> mortar dirt).
The Trigger_once properties are the following:
#set / 1
classname / trigger_useonce
targetname / explodertrigger
And the 2 Animate_fx_mortar-dirt are :
#set / 1
classname / animate_fx_mortar-dirt
model / animate/fx_mortar_dirt.tik
origin / (values)
targetname / exploderfire
testanim / idle
I've also parametred my .scr, adding the "global/exploder.scr" line, "thread explode1" line, and
afeter the "main:" "end", I added the following :
exploderfire1:
$exploderfire anim start
radiusdamage $exploderfire 200 300
end
..
So, everything works fine, but the explosions detonate at the same time. In my scenario, the explosions are serial explosion, the first detonate at Time A and the second at Time B+1. So,
what can I do ? =/
It's either a Trigger problem or a Script problem.
How can I do to make one single trigger, to start more than 1 Thread event ?
Thanks for me helping me out
Aw, and another question (anoying, uh ??
How does the #set <value> works exactly ? In my case, I put "exploder" and "explodertrigger" because it works on a Tutorial i saw. But, can I put any Targetname I want, but if the #set <value> are the same, it'll work anyway ?