• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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

Level 6
Joined
May 29, 2013
Messages
127
I made a consumable item that casts the Force of Nature, but nothing happens when I click on the tree.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,583
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: 2
Last edited:
Top