- Joined
- Dec 26, 2021
- Messages
- 47
Hello, just starting off LUA and i think there's some differences to Jass with ability and unit codes, i see something about FourCC but i can't seem to get this to work.
currently trying to add to a GUI "for each unit in unit group do action(s): via custom script
Can someone please point out my mistake?
currently trying to add to a GUI "for each unit in unit group do action(s): via custom script
-
Unit Group - Pick every unit in myUG and do (Actions)
-
Loop - Actions
-
Custom script: UnitAddAbility(GetEnumUnit(), FourCC("Aloc"))
-
-
Can someone please point out my mistake?