Greetings,
with the help off bdbodger I was able to make a testmap with attacking dogs innit.
( /forum/viewtopic.php?p=59657#59657 ; post of Sat Jun 05, 2004 2:08 am )
One attacking only allies. One attacking only axis.
Works Great!!
Now I like those entities (ai_german_hund_dog-real) to spawn about every 30-40 seconds after they died
OR rather randomly (max 60 secs)
so i removed them & tried to spawn them with as script_object, script_model, script_origin.
each time the dogs were solid
like this.. (last try; script_origin)
Code: Select all
level waittill spawn ///////////////////////***********************************************************
thread spawnalliesdog
thread spawnaxisdog
end
spawnalliesdog:
local.static = spawn script_origin
local.static model "animal/german_shepherd.tik"
local.static.origin = ( -272.00 -112.00 8.00 )
local.static.angles = ( 0 15 0 )
end
//-----------------------------------------------------------------------------
spawnaxisdog:
local.static = spawn script_origin
local.static model "animal/german_shepherd.tik"
local.static.origin = ( -272.00 88.00 8.00 )
local.static.angles = ( 0 345 0 )
end i dno
how can I spawn an (working) entity, morelike an ai(ai_german_hund_dog-real) and have it respawn a few seconds later after dieing ?
(each time after a different ammount of seconds later; randomly)
Same thing could be done with barrels. spwawning them after they're destroyed. wouldn't tht be nice
PS: when i didn't try to spawn them, when they were just placed as an entity,,,they both had targetnames
(but that was just to amke m only attack axis or allies)
allies dog:
key: targetname
value: allies_dog
axis dog:
key: targetname
value: axis_dog
trying to spwn them with script_origin... they didn't have a targetname anymore.
Hope this is easier then I'm guessing
thank U.
Cigs
Sat Jun 05, 2004 2:08 am


