Spawn a "killable" trigger
Posted: Wed Jul 30, 2003 5:36 pm
Hi,
I need to spawn (really can't do it in the bsp), a trigger which will respond to bullets.
Here is how I did:
... scripting here ...
local.t = spawn trigger_multipleall
local.t health 1
local.t target local.m
local.t origin (local.newx local.newy local.mo[2])
local.t thread mine_boom
.. more scripting here ...
This really does not work, the trigger gets activated only when I walk on it.
I tried to set the spawnflags (to 16), but this did not work. Did I miss something obvious ?
Thanks,
Valoche
I need to spawn (really can't do it in the bsp), a trigger which will respond to bullets.
Here is how I did:
... scripting here ...
local.t = spawn trigger_multipleall
local.t health 1
local.t target local.m
local.t origin (local.newx local.newy local.mo[2])
local.t thread mine_boom
.. more scripting here ...
This really does not work, the trigger gets activated only when I walk on it.
I tried to set the spawnflags (to 16), but this did not work. Did I miss something obvious ?
Thanks,
Valoche