HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can anyone tell me the function of this trigger?

07-20-2003, 07:36 PM#1
Fragmentation
Im stumped at what this trigger does?

can anyone explain?


Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 8, do (If (((Player((Integer A))) controller) Equal to Computer) then do (Unit Group - Pick every unit in (Units owned by (Player((Integer A)))) and do (If ((Number of units in (Units within 600.00 of (Position of (Picked unit)) matching ((Owner of (Matching unit))


Thanks for any help
07-20-2003, 07:45 PM#2
Cloud-Strife
I can decipher half of it, but I get lost at the final part. What map did you rip it from, maybe that would help. From what I've gathered, every 2 secs of game time, if any of players 1-8 are computers, then their units are forced to be owned by that computer, but depending on what map its from, I dont see the need for such a trigger.
07-20-2003, 07:50 PM#3
Flaugment
i dont believe it will work, it has no action, and there is no picked unit and where does matching unit come from, and is there a trigger that activates this =\ hope this helps
07-20-2003, 07:57 PM#4
LeprechaunNinja
Yeah, part of the trigger is missing. The last "if" has no "then do" part.
07-20-2003, 09:01 PM#5
Fragmentation
I scrapped this trigger,

the full trigger which I mustve deleted by accident or something

all it does is make any controlled player unit that is in the computers hand do specific stuff responding to what my mini-game is triggering

it basically starts up an AI

dont need it though