Lumograph090
New Member
- Reaction score
- 22
Generally I would just base my summoning abilities off of Feral Spirit as this removes any previously summoned companion. However, I am using Triggers to summon with my current ability based off of Channel.
This spell has 5 levels, lets say I cast the level one version twice as it is currently I would have two Ghouls. Is there a way to remove my previous Ghoul via Triggers if I use the spell a second time, and consequently for any other levels of my spell.
Trigger:
- Raise Ghoul Rank 1
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Raise Ghoul
- Actions
- Set RandomName = (Random integer number between 1 and 3)
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RandomName Equal to (==) 1
- Then - Actions
- Set L = (Position of (Triggering unit))
- Unit - Create 1 Horgus (Level 1) for (Owner of (Triggering unit)) at L facing L
- Custom script: call RemoveLocation(udg_L)
- Else - Actions
- Do nothing
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RandomName Equal to (==) 2
- Then - Actions
- Set L = (Position of (Triggering unit))
- Unit - Create 1 Braintheif (Level 1) for (Owner of (Triggering unit)) at L facing L
- Custom script: call RemoveLocation(udg_L)
- Else - Actions
- Do nothing
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- RandomName Equal to (==) 3
- Then - Actions
- Set L = (Position of (Triggering unit))
- Unit - Create 1 Corpsegrinder (Level 1) for (Owner of (Triggering unit)) at L facing L
- Custom script: call RemoveLocation(udg_L)
- Else - Actions
- Do nothing
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Do nothing
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Do nothing
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Set RandomName = (Random integer number between 1 and 3)
- Events
This spell has 5 levels, lets say I cast the level one version twice as it is currently I would have two Ghouls. Is there a way to remove my previous Ghoul via Triggers if I use the spell a second time, and consequently for any other levels of my spell.