|
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 |
#1
|
||
|
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: |
#2
|
||
|
continue
seems to be a word limit on here or those words are a lot more powerful than I thought
|
#3
|
||
|
Does this mean I can command that all members of a group have to be present in area10 before wac execute?(instead of the default any Group1 member in area10 triggers)
|
#4
|
||
|
hi
hay MERMITE have you tryed out the new mod for Joint ops if not see us at
http://www.dfusa.net sine up and download the mod you can do what ever you want with a wac it is running off of the 1.7.5.7 .exe |
#5
|
|||
|
Quote:
As this thread is concerned with DFX2 please post your concerns under it's correct heading thank you "M" |
#6
|
||
|
The excitement of creation overcomes our friend "M" forgive him.
|
#7
|
||
|
Allow me to re-iterate:
GLOOP -> Named Group Loop Don't use group commands,group commands don't work, don't use space in your group name. GLOOP can't work with *.bms files. bms files don't know any group name. (btw. bms don't know names at all) with GLOOP you are be able to do much more then with group commands. - GLOOP group actions(item) END CODE GLOOP group if condition actions(item) end condition END or a 'secret' vid: here:http://www.nlh.dfreload.com/div/coding/coding.htm Last edited by MERMITE; 07-10-2012 at 01:37 PM. |
#8
|
||
|
Can you give me a working example? I am having trouble grasping the syntax.
|
#9
|
||
|
@ArmaRing
Have you tried making the setup as so; Set the installer to create shortcut parameters which point to the default game folder with these switches- "C:\Program Files\Novalogic\Delta Force Xtreme 2\dfx2.exe" /mydfusamod dfusa This points to the newly installed folder mydfusamod and reads the pff file dfusa. Use any free compiler for the installer and use ravens pff tools to create and pack the pff. you may need 2 (pff files) if you enable editing of the mods ie med.pff. you can change menu screens and and game sounds if you wish. This is a less risky install for users (also your exe for your mod is too big and causes lagging on external drives) Doing it this way it uses the DFX(2) exe to run which is (legal) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|