Need help editing trigger

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
 

Attachments

  • worldtree.w3x
    17.5 KB · Views: 87

Skippy

Active Member
Reaction score
39
What about just create more trees in the location? I think they will be created around the center of the location.
 

MagnaGuard

Active Member
Reaction score
49
Could just add some extra blood effects through triggers, looks awesome if done correctly.
 

mordocai

New Member
Reaction score
17
yeh but the thing is idk how to make more trees grow around the place i targeted. And yes magna it will look awesome if done correctly. Malfurion is the protector!
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Do you want them like in a full circle shape or randomly placed around?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
For each Integer A from 3 to (Random integer between 5 and 9), do
- Set Point = TargetLoc offset by (Random real between 50 and 500) towards (Random angle)
- Destructible - Create <some tree here> at Point
- Destructible - Play (Last created destructible)'s "birth" animation
- Custom script: call RemoveLocation( udg_Point )


Though, then again, sooner or later, the map will be rather full of trees.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top