arg stripper2 -
24-08-2004
My problem is that i'm making a simple activation key and turret entity for my map(2fort). Now what i have set, is for the key to trigger the turret to TURN ON, for 5 minutes. My key is the w_security.mdl, which i want to trigger target/turret1. After its triggered i'd like it to wait 300 seconds before returning to idle (not attack anyone). Well I can't even get the turrets to idle, let alone wait 300 seconds. Here's what i have ::
[add]
{
g_a/0
classname/monster_miniturret
angles/0 0 180
delay_time/0
origin/-661 1115 -111
bbox_min/-20 -20 -50
bbox_max/20 20 0
team_no/1
targetname/turret1
target/turret1
wait/300
}
{
g_a/0
classname/monster_miniturret
angles/0 0 180
delay_time/0
origin/661 -1115 -111
bbox_min/-20 -20 -50
bbox_max/20 20 0
target/turret2
targetname/turret2
team_no/2
wait/300
}
[add]
{
g_a/1
classname/info_tfgoal
netname/Key1
PRECACHE_MODEL(models/w_security.mdl)
model/models/w_security.mdl
wait/60
b_b/Blue Turrets activated
invinciblity_finished/3
target/turret1
origin/1026 2732 -145
}
{
g_a/1
classname/info_tfgoal
netname/Key2
PRECACHE_MODEL(models/w_security.mdl)
model/models/w_security.mdl
wait/60
b_b/Red Turrets activated
invinciblity_finished/3
target/turret2
origin/-1026 -2732 -145
}
Now initially i just want it to be inactive until triggered by a goal and not attack anyone, i've tried goal_state 2 and that doesn't work either. After its trigger, i'd like it to stay active for 5 minutes, that'd be wait/300, but that doesn't work either... Can anybody help me?
|