delete a spawned model in map
Posted: Sat Mar 24, 2007 7:58 pm
Hello,
I just want to know what is the command in a script for delete a model (a model that i spawn in the script). Example:
The map is launch, and after 5 sec a model is spawn on the map.
-->
I want to delete it after some times (i will add some wait command after). So what is the command that i have to write on my script for delete/remove (or hide if i have no choice) it.
Thanks
Al
ps: sorry if my english is not correct
I just want to know what is the command in a script for delete a model (a model that i spawn in the script). Example:
The map is launch, and after 5 sec a model is spawn on the map.
-->
Code: Select all
main:
wait 5
local.panzer = spawn models/human/allied_oss_man_m1.tik
local.panzer.origin = ( -1886 -65 271 )
local.panzer.angle = 272
local.panzer solid
local.panzer immune bullet
local.panzer immune fast_bullet
local.panzer immune bash
local.panzer immune mg
local.panzer immune explosion
local.panzer nodamage
...
Thanks
Al
ps: sorry if my english is not correct