HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger won't work? heres why

10-30-2003, 01:05 PM#1
Taelrie
well there is probably a bunch of reasons why a trigger won't work but heres a glitch I stumbled upon. I suppose other people have figured this out but I haven't seen it posted anywhere so Ill post it here for those of you who haven't.

Frankly this problem stumped me for ages. Say you made a trigger that the event is based on a unit (unit enters X region, unit kills X player, etc.). Anyway say you want the action to be that "triggering player gets defeated" or something. However when you try to run the trigger nothing happens! You check back and forth but there doesn't seem to be anything wrong with the trigger.

Well as a matter of fact there IS something wrong with the trigger. I don't know how WE let this through but IF the event your causing is unit specified and not player specified (and visa-versa) if you try to make an action with a player specified command ("triggering player" in other words) it will NOT work. Since there is no player defined it doesn't know what to work on, but for some reason WE let you be able to do it anyway! So if this has ever happened to you remember to say instead of "triggering player", say "owner of triggering unit" and it should work fine (or better yet for long triggers just set a player variable but thats another story).
10-30-2003, 01:14 PM#2
IDISacredIDI
Cant you just use conditions to get around that? Because if the conditions are set up right you shouldnt have that problem (or atleast i dont think i do)

IDISacredIDI