Ok, I am on my second day of scripting and ive traced the problem I am having back to adding a global accum.
Heres my script sorry if im not overly descriptive but im pissed
game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 3
wm_allied_respawntime 3
}
}
//=========================
//Moving Target 1 Script
//=========================
box01
{
spawn
{
}
trigger move
{
globalaccum 1 abort_if_equal 1
globalaccum 1 inc 1
followspline 0 path01_01 240 wait length -64
followspline 0 path01_02 250 wait length -64
followspline 0 path01_03 260 wait length -64
followspline 0 path01_04 270 wait length -64
followspline 0 path01_05 280 wait length -64
followspline 0 path01_06 290 wait length -64
followspline 0 path01_07 300 wait length -64
followspline 0 path01_08 290 wait length -64
followspline 0 path01_09 280 wait length -64
followspline 0 path01_10 270 wait length -64
followspline 0 path01_11 260 wait length -64
followspline 0 path01_12 250 wait length -64
followspline 0 path01_13 240 wait length -64
followspline 0 path01_origin 120 wait length -64
trigger box01 move
}
pain
{
playsound sound/area51/hit.wav
}
death
{
wm_announce "Target 1 Destroyed!"
alertentity box01
globalaccum 1 set 0
}
}
Thats all it took to break the script_mover was changing it to global…
Can anyone tell me whats going on and why I am having such a hard time with a testmap???
finally…