Gwafu
Active Member
- Reaction score
- 12
When I try this:
It is okay, but the Probe (Hallucination) is showed (it's a dummy unit anyways)
But if I add "Unit - Hide Hallucinated"
It doesn't work.
PS: Also, anyone know how to increase the number of illusions spawned? Thanks in advance.
Trigger:
- Hallucination
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Or - Any (Conditions) are true
- Conditions
- (Ability being cast) Equal to Hallucinate Probe
- Conditions
- Or - Any (Conditions) are true
- Then - Actions
- Set Hallucination_Point = (Position of (Triggering unit))
- Unit - Create 1 Probe (Hallucination) for (Owner of (Triggering unit)) at Hallucination_Point facing Default building facing degrees
- Set Hallucinated = (Last created unit)
- Unit - Create 1 To Be Used As Dummy for (Owner of (Triggering unit)) at Hallucination_Point facing Default building facing degrees
- Unit - Add zzx4 Illusion to (Last created unit)
- Custom script: call IssueTargetOrderById(GetLastCreatedUnit(),852274,udg_Hallucinated)
- Unit - Add a 2.50 second Generic expiration timer to Hallucinated
- Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
- Else - Actions
- If - Conditions
- Custom script: call RemoveLocation(udg_Hallucination_Point)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
It is okay, but the Probe (Hallucination) is showed (it's a dummy unit anyways)
But if I add "Unit - Hide Hallucinated"
Trigger:
- Hallucination
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Or - Any (Conditions) are true
- Conditions
- (Ability being cast) Equal to Hallucinate Probe
- Conditions
- Or - Any (Conditions) are true
- Then - Actions
- Set Hallucination_Point = (Position of (Triggering unit))
- Unit - Create 1 Probe (Hallucination) for (Owner of (Triggering unit)) at Hallucination_Point facing Default building facing degrees
- Set Hallucinated = (Last created unit)
- Unit - Hide Hallucinated
- Unit - Create 1 To Be Used As Dummy for (Owner of (Triggering unit)) at Hallucination_Point facing Default building facing degrees
- Unit - Add zzx4 Illusion to (Last created unit)
- Custom script: call IssueTargetOrderById(GetLastCreatedUnit(),852274,udg_Hallucinated)
- Unit - Add a 2.50 second Generic expiration timer to Hallucinated
- Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
- Else - Actions
- If - Conditions
- Custom script: call RemoveLocation(udg_Hallucination_Point)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
It doesn't work.
PS: Also, anyone know how to increase the number of illusions spawned? Thanks in advance.