• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Variables {what type is "Position of Caster" and "Trigger Unit"?}

Status
Not open for further replies.
Level 4
Joined
Dec 24, 2008
Messages
51
I gotta do this:

Now for the Actions, first off, we need to set the Variables. Lets start off with the Caster variable. Create a new Action, scroll down to 'Set Variable'. Click the red text that reads Variable and select Caster. Next, select the red text that read Value and scroll down to 'Event Response - Triggering Unit. It should look like this so far:

  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Knockback
  • Actions
  • Set Caster = (Triggering unit)

Next, select the red text that read Value and scroll down to 'Event Response - Triggering Unit'

I don't have Event Response - Triggering Unit in the list..
I have this:
asdasdpzl.png


Any help? Rep+
 
Level 4
Joined
Dec 24, 2008
Messages
51
It's because you need variable type "Unit", not "String".

Thanks.

{EDIT}
I don't wanna make another thread; this is my problem:

Now lets set the 3rd Variable. Create a new Action, scroll down to 'Set Variable'. Click the red text that reads Variable and select Location. Next, select the red text that read Value and scroll down to 'Unit - Position Of Unit,' then select Caster for the unit, 'Position of Caster.' It should look like this so far:

  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Knockback
  • Actions
  • Set Caster = (Triggering unit)
  • Set Target = (Target unit of ability being cast)
  • Set Location = (Position of Caster)

What type of Variable I make for
  • Set Location = (Position of Caster)
?
 
Last edited by a moderator:
Status
Not open for further replies.
Top