Re: Swamp Campaign Scripting (SCS)

so i think my campaign is about done. the only thing i see is that i'm getting this error when i launch it, "Error.  The variable timer event m=0 was not found."
my code is as follows.

map=multi2
d=90
no respawn
starting gear

quest=talk to your commanding officer.

new var progress=1

start timer

time event m=0 s=2
radio=your commanding officer says, good morning [player.name].

time event m=0 s=4
radio=your commanding officer says, we have spotted a hord of undead traveling south on Green laine.

time event m=0 s=6
radio=your commanding officer says, we need you to go out and deal with them before they make it to the safezone and ruin all we have worked towards.

time event m=0 s=8
radio=your commanding officer says, i have left a gun and a few clips of ammo next to the door. make sure to pick it up before you go out. or we're all doomed.

block time event m=0 s=10
radio=your commanding officer says, Do you copy?
pause timer
add progress by 1
end event
//progress is 2

block while progress=2 and chat contains event=copy
radio=your commanding officer says, then what are you waiting for. get out there and illiminate that undead skum!
quest=pick up the weapons and ammo.
add progress by 1
end event
//progress is 3

+-1+block while progress=3 and location event 221,386,223,388
say=as you leave the police station, you grab an m16, several spare clips of ammo, and a few med kits from the weapons wrack

by the door.
give item 1 M16
play sound Get\Assault.wav
give item 500 5.56mm ammo
play sound Get\556.wav
give item 20 Med kit
play sound get\medkit.wav
add spot  227,313,241,336 Canine=10
add spot  227,313,241,336 normal=10
add spot  227,313,241,336 giant=10
add spot  227,313,241,336 tyrant=10
add progress by 1< br />end event
//progress is 4

while progress=4 and zombie event=0
start timer

block time event m=0 s=12
Radio=your commanding officer says, great job recruit! you've earned the rest of the day off.
quest=return the the safezone and celebrate your victory.
add progress by 1
pause timer
end event
//progress is 5

+-1+while progress=5 and location event 221,383,223,386
start timer

block timer event m=0 s=13
play sound \player\level2.wav
victory=congratulations! you have saved the day!
end event



i'm sure there are definitely ways that my code could be streamlined but i think this is a good start for my first campaign. cea jones, i tried to understand what you wrote in post 672 or what ever number it was, but i didn't understand it very well. maybe if you could explain it a bit. maybe even going line by line if you don't mind.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : Kyleman123 via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : Kyleman123 via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : Kyleman123 via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — New releases room : audioracer via Audiogames-reflector

Reply via email to