[QUOTE=oveove;482325]probably use this:
if huey hurted it will start moving down
then, when it hit the ground use the setposition and (huey = targetname huey)
function_explosive
{
spawn
{
setstate function_explosive invisible
}
trigger hueycrash
{
setposition huey
wait 100
setstate function_explosive visible //(bomb it/explode must be visible?)
trigger death // explode trigging? or am i wrong?
}
death
{
}
}
? or will that work ?[/QUOTE]
really dont know … and how would I make the huey go down?
it doesnt seem that its much that works… tried a lot of stuff
setstate huey invisible doesnt work - unknown event
the closest I get is this:
death
{
trigger huey bang
}
trigger bang
{
remove
wait 500
playsound sound/weapon/dynamite/dynamite_expl.wav
wait 500
trigger huey
}
but then it disapear and doesnt come back…
EDIT2:must have had a typo in script…invisible works…
now I comes so far I can destroy it… and it comes back… but only once… how should I fix so its destroyable the whole time?
btw deathscript atm:
death
{
trigger huey bang
}
trigger bang
{
setstate huey invisible
wait 500
wm_announce "huey damaged"
playsound sound/weapon/dynamite/dynamite_expl.wav
wait 1000
trigger huey revive
}
trigger revive
{
setstate huey default
wm_announce "huey back on track"
trigger self huey_path
}
}