G
Guard
Guest
I'm currently making a set of D&D/RP triggers. On my test map, i have random units and 3 heros laying around.
When i was playing around, i tried my size trigger out:
Size
Events
Player - Player 1 (Red) types a chat message containing size as A substring
Conditions
(Substring((Entered chat string), 1, 4)) Equal to size
Actions
Set temp = (Integer((Substring((Entered chat string), 6, 9))))
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
Loop - Actions
Animation - Change (Picked unit)'s size to ((Real(temp))%, (Real(temp))%, (Real(temp))%) of its original size
I did size 20 only a priest, and somehow one of the heros also got resized to 20 (was definately not selected) and began to auto-follow the priest. Any idea what would cause actions like this?
I also had something like this happen with the tint command, where instead of the selected unit becoming tinted, another unit i had selected before became tinted instead.
When i was playing around, i tried my size trigger out:
Size
Events
Player - Player 1 (Red) types a chat message containing size as A substring
Conditions
(Substring((Entered chat string), 1, 4)) Equal to size
Actions
Set temp = (Integer((Substring((Entered chat string), 6, 9))))
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
Loop - Actions
Animation - Change (Picked unit)'s size to ((Real(temp))%, (Real(temp))%, (Real(temp))%) of its original size
I did size 20 only a priest, and somehow one of the heros also got resized to 20 (was definately not selected) and began to auto-follow the priest. Any idea what would cause actions like this?
I also had something like this happen with the tint command, where instead of the selected unit becoming tinted, another unit i had selected before became tinted instead.


