Here it is,
main:
level waittill spawn
thread spawnguy
end
spawnguy:
local.dude = spawn "human/dday_29th_private.tik" origin$whatever.origin targetname "mysoldier"
while (IsAlive local.dude)
waitframe
//$mysoldier runto spot
wait 2
goto spawnguy
end
Thanks
little script not quite right
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
Ok I got it to this point working quite well. Its kind of bots but they might have higher performance because they should have less calculations to do, anyway I will do some tests. I wish I could upload the file like you can at tmt, its hell funny to watch. To make it yourself you just need two script origins named whatever and whatever2 and a pathnode named spot. Very funny indeed.
main:
level waittill spawn
thread spawnbaddie
thread spawngoodie
end
spawngoodie:
wait 1
local.dude = spawn human/dday_29th_private.tik "origin" $whatever.origin "targetname" "mysoldier"
$mysoldier runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawngoodie
end
spawnbaddie:
wait 1
local.dude = spawn human/german_wehrmact_soldier.tik "origin" $whatever2.origin "targetname" "mysoldier2"
$mysoldier2 runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawnbaddie
end
main:
level waittill spawn
thread spawnbaddie
thread spawngoodie
end
spawngoodie:
wait 1
local.dude = spawn human/dday_29th_private.tik "origin" $whatever.origin "targetname" "mysoldier"
$mysoldier runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawngoodie
end
spawnbaddie:
wait 1
local.dude = spawn human/german_wehrmact_soldier.tik "origin" $whatever2.origin "targetname" "mysoldier2"
$mysoldier2 runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawnbaddie
end
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
