Go Back   Novahq.net Forum > Games > Delta Force
FAQ Community Calendar Today's Posts Search

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-09-2012, 02:05 PM
MERMITE is offline MERMITE
Registered User

Join Date: May 2006
Posts: 736

PL00P ya G00P's

'ere we go again....wac, wac! (JOE./DFX2 only)

This information was passed to me, from an Abo deep in the Aussie outback, who got it of a passing satellite ("headless horseman") i'm gonna get shot 4that..lol

Understand these are vital wac commands, if like me, map WITHOUT using events, they suc anyway, but you can still use 'em even with events

GLOOP
The gloop is a procedure that will cause a looping sequence within the
code. The syntax of a gloop will start with the keyword gloop followed
immediately by the group name and conclude with the keyword end. It is
used in conjunction with the keyword item to represent each of the members
of the group.
The group name can be any name that does not contain spaces and must not be the same as a keyword.
When a gloop is reached any conditions and statements within the gloop
will cycle through for each of the members in the group until all have been
checked and/or acted upon, before the sequential continuation of the wac
code. In other words, the wac codes linear progression through the code is
broken as though a subroutine that must check each member of the group before returning back to the remainder of the wac codes linear sequence.

Maximum group name can be up to 22 characters

Syntax:

gloop groupname
if conditions containing item then
actions containing item
endif
end
Or
if conditions then
gloop groupname
actions containing item
end
endif
Example:
if never then
gloop mygroup
ssnmax(item,300)
end
endif
This code will set the members of the group named mygroup to have vision
range of 300 meters.
What the loop does is holds the internal number of each of the members of the group in turn, in the keyword item for each of the members of the group
until all members have been acted on, before the continuation of the
remaining wac code.


continue:
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:47 PM.




Powered by vBulletin®