Warcraft III resources & community, 2003–2006 · archived

Plz read this!!! trigger help!

5 posts
#1

Plz read this!!! trigger help!

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
#2
I don't think attacks can be enabled/disabled. But if you could explain how your map will be, maybe I have an idea.

-Rui
#3
hey i have an idea.. search battleships maps (psycho is a good one for it, because it is not protcted) open the map and look at the fire system... the boats havent any atgtackl and attacking only if they got some weapons in his inventory
try it, its relative reasy to understand...
#4
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 ^^