• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Force of Nature can't be cast as an item?

Status
Not open for further replies.
Level 6
Joined
May 29, 2013
Messages
139
I made a consumable item that casts the Force of Nature, but nothing happens when I click on the tree.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,881
You could create a trigger that detects the usage of the item ability and then have a Dummy unit cast the ability the normal way:
  • FoN
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Force of Nature (Item)
    • Actions
      • Set VariableSet FoN_Point = (Target point of ability being cast)
      • Unit - Create 1 Dummy for (Triggering player) at FoN_Point facing Default building facing degrees
      • Unit - Add a 0.20 second Generic expiration timer to (Last created unit)
      • Unit - Add Force of Nature (Dummy) to (Last created unit)
      • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Force Of Nature FoN_Point
      • Custom script: call RemoveLocation( udg_FoN_Point )
Dummy units are based on the undead Locust, with the following stat changes:
Model = None, Shadow = None, Attacks Enabled = None, Movement Type = None, Speed Base: 0

This will create a hidden and uncontrollable unit that can cast spells immediately and any number of times.
 

Attachments

  • Force of Nature Item Fix 1.w3m
    19.5 KB · Views: 6
Last edited:
Status
Not open for further replies.
Top