mordocai
New Member
- Reaction score
- 17
hey guys, so i have made a trigger that creates a big tree at the point of target casting, and then it explodes. However in addition to that ability i want the user to create tress around the point target, like a forest(you can escape but trees just grow around that point). I have no idea to do this, and here is my trigger to make the big tree/explode it. If someone wants to make it in JASS go ahead. Ill post trigger/upload the map incase anyone wants to edit the spell itself.
Trigger:
- Tree
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Test
- Actions
- Set Caster = (Triggering unit)
- Set TargetLoc = (Target point of ability being cast)
- Unit - Create 1 Dummy2 for (Owner of Caster) at TargetLoc facing Default building facing degrees
- Set Dummy = (Last created unit)
- Unit - Add Explosion (Dummy) to Dummy
- Unit - Set level of Explosion(Dummy) for Dummy to (Level of test for Caster)
- Unit - Add a 3.00 second Generic expiration timer to Dummy
- Unit - Order Dummy to Orc Tauren Chieftain - War Stomp
- Custom script: call RemoveLocation(udg_TargetLoc)
- Set Dummy = No unit
- Set Caster = No unit
- Events