HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

HEY! lil trigger help please

02-25-2003, 02:18 AM#1
lashin'Puppet
ok, so how would I make a trigger that affects every unit in a unit group and not just a random unit in the group?
02-25-2003, 02:21 AM#2
STURMguy22
the "pick all units in group and do" action

what did u want the trigger to do, i can give u more help
02-25-2003, 02:22 AM#3
mikedogdude
For your action put "Pick every unit in unit group-"
Then pick whatever unit group you want. (You have to do this for every action you want to use these units for.) Then in the action, for whatever unit you want to use, put "picked unit".
02-25-2003, 02:24 AM#4
MarSara
just do UnitGroup-Pick Every Unit in <Unit Group> And Do <Action> replacing <Action> with the effect that you want to happen to all of the units. (ex. you want to heal all units by 100: PickEveryUnitIn <UnitGroup> AndDo Unit-SetLifeOf(PickedUnit) to (LifeOf(PickedUnit) + 100) )
02-25-2003, 03:17 AM#5
lashin'Puppet
my editor seems to be missing a few triggers by the looks of it for some reason, I also got that special editor mod thing.
I got half the trigger im workin on, its just the part of appyling it to the whole group, type level # and it would level to that level, But i only found random units in group to apply it to..
02-25-2003, 03:28 AM#6
Guest
New Trigger:

Events:
[Player 1] types the chat message: [level ] as a substring
|
|
|
V
<to whatever the last person that can type this and it work>

Conditions:
Interger: Number of units selected by [Trigger Player] [greater than or equal to] 1

Actions:
Unit Group: Pick all units [selected by [triggering player]] and do [Hero: Set Level [conversion<string to interger>[entered chat string]]


There you go!
07-18-2003, 08:10 PM#7
lashin'Puppet
that level up thing doesnt work
07-18-2003, 08:15 PM#8
Pesmerga
Event - Blah
Action - Pick all units within region 0001 <gen> and do Action (explode - PICKED unit)