Quote:
Originally Posted by finishlast
Hi,
how to spawn an entity on a certain event.
Let's say spawn a gnome when the elevator reached the botton.
In the obove case the gnome is always there, is there a way to only create it when the elevator reached the bottom?
|
Code:
modify:
{
match:
{
"model" "*39"
}
insert:
{
"OnPressed" "ZB_T,SpawnZombie,Tank Tank,50,1"
}
}
//特感出生位置
add:
{
"origin" "13436 15218 475"
"targetname" "ZB_T"
"classname" "commentary_zombie_spawner"
}
This is the tank I generated in the elevator. I wonder if it will enlighten you
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1: