TheOverWhelm
Member
- Reaction score
- 16
Does IsUnitSelected even work? I tried it in the RPing map I've been developing and it doesn't seem to do its job, ever.
This doesn't even remove them from the group. I've tried it with ==false as well but it still didn't work. I know the loop is working (messages, other conditions/actions too) so I have no idea what's wrong.
Trigger:
- Custom script: if IsUnitSelected(GetEnumUnit(),Player(bj_forLoopAIndex))==true then
- Unit Group - Remove (Picked unit) from SelectedUnits[(Integer A)]
- Custom script: endif
This doesn't even remove them from the group. I've tried it with ==false as well but it still didn't work. I know the loop is working (messages, other conditions/actions too) so I have no idea what's wrong.