My script isnt working for some reason...
Posted: Mon Apr 24, 2006 3:17 am
Heres the .scr which i wrote in NotePad:
Am i missing something here?
Code: Select all
main:
level waittill prespawn
//thread ArtySupport
// local.player = parm.other
// local.ArtyShell = spawn script_model "targetname" "Arty_Shell"
// local.ArtyShell model "animate/fx_mortar_dirt.tik"
// local.ArtyShell.origin = local.player.origin
// local.ArtyShell.angles = ( 0 0 0 )
// local.ArtyShell.scale = 1
thread CoronaOps
$Corona hide
$CoronaLight light 1 0 0 350
level waittill spawn
CoronaOps:
while(1)
{
$CoronaShow waittilltrigger
$Corona show
$CoronaLight lighton
wait 1
$Corona hide
$CoronaLight lightoff
$CoronaShow triggerable
waitframe
}
end
//ArtySupport:
//while(1)
//{
// $Bridge waittill trigger
// $Bridge nottriggerable
// local.player = parm.other
//if (local.player.dmteam == "axis")
// {
// local.player stufftext "say OMG! They have artillary protecting the Bridge!"
// wait 2
// Arty_Shell anim start
// local.player hurt 9999
// }
// watiframe
// $Bridge riggerable
//}
//end