HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Strange problem

02-26-2004, 05:05 AM#1
DoctorDoom
follow this trigger.

Event:
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object

Condition:
(Issued order) Equal to (Order(move))

Action:
Set Unit_Spells_TargetedUnit[0] = (Target unit of issued order)
Game - Display to (All players) the text: (Name of Unit_Spells_TargetedUnit[0])
Game - Display to (All players) the text: (Trigger is running)

Ok, all I get is the text, trigger is running. The variable isn't set to anything. Anyone understand why?
02-26-2004, 05:33 AM#2
Narwanza
You are never ordered to "move" to an object. You are either ordered "smart" or "attack" or something of that nature. Move is always to a point.
02-26-2004, 05:52 AM#3
DoctorDoom
why don't people read the full trigger. Your wrong, why? Because part of the action is to display a text that says "trigger is working" and i said that works. Which means that move does work. Hell the only reason I added that extra action was for the people reading this so they know the trigger fires fine. Anyway, I appreciate the attempt at help. Any other ideas?
02-26-2004, 06:02 AM#4
harel
if you use pin point array why don't you use a variable ?
and if you want an arry you have to target it to the next part.

sorry for the bad English it is not my native language
02-26-2004, 08:08 AM#5
DoctorDoom
I used an array because I will need to save up to 10 units and it cuts down on triggers. I understand how to use an array, what I don't understand is why this one is setting.
02-26-2004, 08:20 AM#6
ObsidianTitan
I used your exact trigger (changed some words but still) and it worked fine for me. However unless i manually ordered the unit to move to the unit it wouldn't work (right click didn't display anything).
02-26-2004, 04:38 PM#7
DoctorDoom
Damn. See I knew it should be working. I wonder where my problem lies then? Yeah I have a trigger generated order of move so that part works fine. It just won't display the variable, like it doesn't exist.
02-26-2004, 10:44 PM#8
DoctorDoom
Anyone understand this issue.
02-27-2004, 06:29 AM#9
ObsidianTitan
I tested this, i can get it to work for move, smart, and drain (siphon mana), but it dosent work for Storm bolt. Those are the only orders I have tested so far.

The attached map is just my tests, order towadrs a unit, then hit esc to do the order vs that unit again. I did this without any special editors, because I can still do pretty much everything that WEU can without it.