Why doesn?t it works?
Code: Select all
// Polk
// ARCHITECTURE: It Polk
// SCRIPTING: Pollo_Expresss
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Polk"
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
//*** Precache Dm Stuff
exec global/DMprecache.scr
level.script = maps/dm/Polk.scr
exec global/ambient.scr Polk
level waittill spawn
thread mensage
end
//-----------------------------------------------------------------------------
mensage:
{
local.time = 20
while ( local.time > 0 )
{
iprintlnbold_noloc local.time + " seconds remaining!"
wait 1
local.time = local.time - 1
}
}
end
I?m triying to call a thread but it doesn?t works.
Can I get that kind of scripting in DM maps? or is this only avaliable on SP maps?





