TIOcoop spacer TIOcoop spacer TIOcoop
Game Menu New

NovaHQ Top 50



Community Forums › Novalogic Games › Delta Force Xtreme 2 › PL00P ya G00P's (1)
PL00P ya G00P's (1)

Post new topic    Reply to topic    Printer Friendly Page     Forum Index ›  Delta Force Xtreme 2

View previous topic :: View next topic  
Author Message
MERMITE
Private
Private


Joined: Jun 10, 2011
Posts: 6
Location: FNQ
PostPosted: Mon Jul 30, 2012 4:14 am
Post subject: PL00P ya G00P's (1)

'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 ...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[align=justify] 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.
Back to top
View user's profile Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ›  Delta Force Xtreme 2
Page 1 of 1
All times are GMT + 10 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Delta Force Xtreme 2
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster
copyright@nova-outpost.com
Interactive software released under GNU GPL, Code Credits, Privacy Policy