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

Plz read this!!! trigger help!

Status
Not open for further replies.
Level 3
Joined
Jun 13, 2005
Messages
26
I want something, i dont know if its been done ever. i want a unit to pick up an item, lets say "tactical sniper". and when he aquires it, he gets an ability named, Fire Tactical Sniper. This unit has no attacks enabled, and theres various guns in my map. What i want (in general) is when u get an item, an ability (matching item aquired) appears in ur units box thing. plz plz plz help me. i dont care if it happens thru trigger or object editor but PLZ HELP ME IF I ACHIEVE THIS, MY MAP WILL BE SOOO COOL! PLZ
 
Level 13
Joined
Jul 4, 2005
Messages
1,064
Hey men, he just want to add an ability to unit when it picks up an item, and remove it when it is dropped -.+

Add Ability:

Events
Unit - A unit picks up an item
Conditions
<none>
Actions
If (Picked item) Equal To <your item here> Then
Actions
Unit - Add <your ability matching item> to (Picking unit/Triggering unit) <-- this is Unit - Add ability to unit action
Game - Display text message to (Owner of (Picking unit)) the text: Concentrated strings("You got" + Item - Name of (Picked item)

Donno it will work, wrote from memory ^^
 
Status
Not open for further replies.
Top