10-16-2012, 09:23 AM
Hi All
Immaking a little script for the submissions section.
"The spawn doctor" but I need some help.
ForInstances Spawns
Count++
Tag Count
EndFor
Open Dialog
Display Spawn Count, Selection Filters a Range thats variable.
OnButton Search for Spawns
Check Input
CALL Function search for spawns......
^^All was fine until :
I wanted to stop in a loop:
FOR X 1 <TotalSPawnCount>
SpawnNumber = X
Display Spawn Details and Dialog next and last button set X as -2 or 0
Endfor
Or maybe :
FORINSTANCES aSpawn
If Passes all the filters
WHILE (Wait on user input from dialog)
// Tag User With Spawn Parameters to sent to Dialog
// Display SDialog
ENDWHILE
ENDFOR
^^ That wasnt happy.
FORCONTS?
Can I pass a variable with it like FORCONTS X maybe ?
FORINSTANCES?
Could it be a FORCONT with IF BASEID = ARGS or is it different?
I want to stop a FORINSTANCES by either tripping it like X--
or by nesting and spinning a loop inside it; rather than tagging
all the spawns with a number n then having to do a full search of the
world spawns again just to find the Next one tagged n++.
Can I ?
Immaking a little script for the submissions section.
"The spawn doctor" but I need some help.
ForInstances Spawns
Count++
Tag Count
EndFor
Open Dialog
Display Spawn Count, Selection Filters a Range thats variable.
OnButton Search for Spawns
Check Input
CALL Function search for spawns......
^^All was fine until :
I wanted to stop in a loop:
FOR X 1 <TotalSPawnCount>
SpawnNumber = X
Display Spawn Details and Dialog next and last button set X as -2 or 0
Endfor
Or maybe :
FORINSTANCES aSpawn
If Passes all the filters
WHILE (Wait on user input from dialog)
// Tag User With Spawn Parameters to sent to Dialog
// Display SDialog
ENDWHILE
ENDFOR
^^ That wasnt happy.
FORCONTS?
Can I pass a variable with it like FORCONTS X maybe ?
FORINSTANCES?
Could it be a FORCONT with IF BASEID = ARGS or is it different?
I want to stop a FORINSTANCES by either tripping it like X--
or by nesting and spinning a loop inside it; rather than tagging
all the spawns with a number n then having to do a full search of the
world spawns again just to find the Next one tagged n++.
Can I ?