• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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