AI MG42
Posted: Tue Mar 23, 2004 5:48 pm
hey i went thru the tutorial and i got an ai spawning and instantly moving to the gun (not running as it says it should do in the tut) and he just stands there doing nothing.
i copied the basic script from another dm map i was messing with, i dunno if i have to set it up as Single Player, not sure how to do that.
i copied the basic script from another dm map i was messing with, i dunno if i have to set it up as Single Player, not sure how to do that.
Code: Select all
// mg42
// ARCHITECTURE: fuhrer
// SCRIPTING: fuhrer
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "none"
level waittill prespawn
exec global/ai.scr
level.script = "maps/dm/mg42.scr"
level waittill spawn
$mg42 thread global/mg42_active.scr::mg42
end