• 🏆 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 Unit to cast abilty

Status
Not open for further replies.
Level 1
Joined
Dec 4, 2006
Messages
2
I need something like this but i dont know if its possible.. i cant find a way in WE to fix this anyway

Action: -Unit as variable- cast -Abilty as variable- on -unit as variable-

is this possible? plz help
 
Level 1
Joined
Dec 4, 2006
Messages
2
But it wont work... i have a variable i want to isert but it wont let me

i have kinda like this

Set AttUnit = (Triggering unit)
Set DefUnit = (Target of ability being cast)
Set xSpellx = (Ability being cast)

then i need

Unit - order AttUnit to Cast xSpellx on DefUnit

Its that yourorderstring that dont exist in World editor
all i can do is make unit cast prselected spells, i want him to cast variable spell
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
What did you base your spell off of? there is no spell that is activatable that isn't based off a spell.
Pretend you modified war stomp. The action would be
Issue order with no target
Order unit to Orc - Centaur Warchieftan - War Stomp.

I cannot explain it any clearer, it DOES NOT REQUIRE VARIABLES. AT ALL.
You select THE SPECIFIC SPELL that the spell YOU made is based on, and you find THAT SPELL in the list Blizaard gives you.
--donut3.5--
 
Status
Not open for further replies.
Top