Synthetics
New Member
- Reaction score
- 7
Hi
Im have some major trouble trying to remove locust so that the unit is unselectable but can be targeted, i've tried everythin i could think off (im not jass literate) and had even tried messing around with jassn (unsucessfully). I've read loads of posts about it but when i type in my unit where they say to insert your unit in the jass bit of code, it has an error.
This is what i have so far if someone could correct me with it i'd be very grateful. and so would the walls of my home :banghead:
Thanks for your time
Im have some major trouble trying to remove locust so that the unit is unselectable but can be targeted, i've tried everythin i could think off (im not jass literate) and had even tried messing around with jassn (unsucessfully). I've read loads of posts about it but when i type in my unit where they say to insert your unit in the jass bit of code, it has an error.
This is what i have so far if someone could correct me with it i'd be very grateful. and so would the walls of my home :banghead:
Thanks for your time
Trigger:
- Untitled Trigger 001
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Locust Swarm
- Actions
- Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) matching ((Unit-type of (Picked unit)) Equal to Locust)) and do (Actions)
- Loop - Actions
- Wait 2.00 seconds
- Unit Group - Add (Matching unit) to test
- Loop - Actions
- Unit Group - Pick every unit in test and do (Actions)
- Loop - Actions
- Wait 3.00 seconds
- Game - Display to (All players) the text: if youreading this ...
- Unit - Hide (Matching unit)
- Custom script: call UnitRemoveAbilityBJ( 'Aloc', GetEnumUnit() )
- Unit - Unhide (Picked unit)
- Loop - Actions
- Game - Display to (All players) the text: hide comenced
- Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) matching ((Unit-type of (Picked unit)) Equal to Locust)) and do (Actions)
- Events