blah blah
level waittill prespawn
$world farplane 4500
$world farplane_color (.333 .333 .329)
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/obj/obj_team4.scr
exec global/ambient.scr obj_team4
thread soldier1
thread mg42
//not functioning for bots yet?
mg42:
local.static = spawn script_model
local.static = spawn "statweapons/mg42_gun.tik"
local.static.origin = ( -355 -879 311)
local.static.angles = ( 0 0 0)
local.static solid
local.static firetype bullet
local.static model "statweapons/mg42_bipod.tik"
local.static.origin = ( -355 -879 311)
local.static.angles = (0 -90 0)
local.static scale 1.0
end
//the bots show up but no mg42, heres soldier2s info...
soldier2:
local.soldiercount2 = 2
spawn human/multiplayer_allied_2ndranger_sergeant.tik "targetname" "soldier2" "type_attack" "cover" "weapon" "bar"
thread soldier $soldier2 local.soldiercount2
$soldier2 turnto ( -355 -879 311)
$soldier2 waittill turndone
while(isAlive $soldier2)
{
wait 1
}
//remove $soldier2
wait 2
goto soldier3
end
see anything obvious? any help to get it working and even better to get the bot to use it would be a great help.
Cobra
