• 🏆 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!

Trigger question: Why doesn this work?

Status
Not open for further replies.
Level 3
Joined
Aug 18, 2004
Messages
60
Hi, me again lol.
Why doesnt this trigger work?

Events
Unit-A unit comes within 50.00 of x-wing 0002 <gen>

Conditions
Vechical[(PLayer number of Triggering player))] Equil to No unit
(Owner of X-Wing 0002 <gen>) equil to neutral passive.

Actions
Unit- Move Charictor[(Player number of (Ttiggering player))] instantly to center of CharInVech[(Player number of (triggering player))])
Unit-Change ownership of X-wing 0002 <gen> to (PLayer((PLayer number of (Triggering player)))) and change color.
Set CurrentUnit[(PLayer number of (Triggering player))]=X-wing 0002 <gen>
Set Vechical[((Player number of triggering player))]=X-wing 0002 <gen>

It only works for player 1 for some reason.
Any suggestions?
Thanx
 
Status
Not open for further replies.
Top