• 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.

[Trigger] Item Restrictions and One Ability (Help please)

Status
Not open for further replies.
Level 1
Joined
Mar 29, 2008
Messages
2
Okay, for those of you who've played Diablo 2, and World of Warcraft...

You know there are some items that are particularly designed for a specific class.


I've kept going over the triggers, TRYING to figure this out.

Problem 1:Drop item Trigger - Here's what I came up with from reading around HiveWorkshop forums.

Event -
Unit - Acquires an item

Condition -
(Unit-type of (Triggering Unit)) Not equal to Druid - Feral Wolf

Action -
Item - Remove (Item carried by (last created unit) of type (Item))

Is there anything Missing/Wrong with this trigger? (I haven't tried it yet, I was posting so, I figured I'd get feedback, this is my 2nd made trigger from scratch)



Problem 2: If the way I posted above isn't going to work, I need someway to prevent multiple specific classes from not acquiring each others items, example.

Druid; I don't want Druid characters picking up and using Shaman items, nor Warrior or Paladin items.

So forth with all other classes.



Problem 3: I want to make a Charge trigger, this one I've looked over Youtube, Google, Hive, and couldn't find ONE PERSON who knew what the heck they were talking about regarding this type of trigger.

Allow me to explain its purpose and mechanics.

I need this (ability) to move (Warrior) to (Target) and stun the target for (x) seconds. The distance I need/want is about 600 In-game range.


Help is appreciated.
 
Level 6
Joined
Sep 5, 2007
Messages
264
http://www.hiveworkshop.com/forums/spells.php?id=wfsf59&prev=r=20&page=2
Sounds like the "charge" spell you're after.

My approach in the item issue is to create a duplicate of the item (based on a tome, with no bonuses) when you pick the "duplicate" up, do your checks (class, etc.) if you fail a check, then recreate the duplicate at the hero's feet, otherwise create the real version in the hero's inventory.
 
Level 1
Joined
Mar 29, 2008
Messages
2
http://www.hiveworkshop.com/forums/spells.php?id=wfsf59&prev=r=20&page=2
Sounds like the "charge" spell you're after.

My approach in the item issue is to create a duplicate of the item (based on a tome, with no bonuses) when you pick the "duplicate" up, do your checks (class, etc.) if you fail a check, then recreate the duplicate at the hero's feet, otherwise create the real version in the hero's inventory.


TY, this brings to my next question.

How do I attach this spell(and others) to my Map?
 
Last edited:
Level 6
Joined
Sep 5, 2007
Messages
264
I usually don't just dump other peoples abilities into my map (I read the code, and create my own) but there should be instructions. If there isn't then it should just be a matter of copying the triggers (have both your map and the other map open in the editor, select the other map trigger, press control-c, switch to your map, press control-v) then copy the actual ability (same process as above but with ability instead of trigger).

I'm sure that there are better explainations out there, but as a said above, I don't really do it. :thumbs_up:
 
Status
Not open for further replies.
Top