OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFPWiZard on 31 Jan 2005, 12:49:42

Title: @ SYmbol
Post by: OFPWiZard on 31 Jan 2005, 12:49:42
What is dowa the @ symbol represent?

There is nothing on it in here:
http://ofpec.com/editors/comref.php?letter=num (http://ofpec.com/editors/comref.php?letter=num)

Unless it is something like the if then commands

? a: b ... etc.

Ex:
@ not (c1 in t1) && not (c2 in t1) && not (c3 in t1)
Title: Re:@ SYmbol
Post by: macguba on 31 Jan 2005, 12:56:30
It's in the comref if you look hard enough.  ;)

http://www.ofpec.com/editors/comref.php?letter=3#Script%20syntax
Title: Re:@ SYmbol
Post by: nominesine on 31 Jan 2005, 13:19:17
...and it tells the script to wait at the @ until the condition following the symbol is met. Example:

@continue

tells the script to pause until the bolean variable continue is set to true.

The comref doesn't answer all of lifes little mysteries, but it's a damn good source for OFP editing.
Title: Re:@ SYmbol
Post by: OFPWiZard on 31 Jan 2005, 13:37:38
i was there before... like i said...

but i am too lazy to read every word ... mostly skim through everything.

i found most of the information i looked for by myself, becuase i did 2 years ago.

i even remember a dude that created a sweet MP Mission on Malden... it was Capture and Hold the Flag.

His name started with a K. . . .

it was awesome.... but anyways yep thanks again... to everyone.