HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

cancel revive

05-12-2008, 08:39 PM#1
popp
hi i've a problem with world editor about detecting a revive command cancelled.
if i use a unit cancel revive event it works if i press cancel button in altar menu but if i click on the unit icon near the progress bar, the command is not detected by the event.
Does anyone has a soolution ?
05-13-2008, 01:41 AM#2
Ammorth
try a periodic trigger that checks when the current order of the alter becomes a null order or when the order stops being revive. If the period is fast enough the player won't be able to trick the system and it should be pretty accurate.
05-13-2008, 08:11 AM#3
DioD
Trigger:
Melee Initialization
Collapse Events
Unit - A unit Begins reviving
Unit - A unit Cancels reviving
Unit - A unit Finishes reviving
Conditions
Actions

blindness or what?
05-13-2008, 08:51 AM#4
Troll-Brain
Quote:
Originally Posted by DioD
blindness or what?
yes, you are you didn't read fine :p

And it seems you can't catch the building's order when you click on the hero.
so follow the idea of Ammorth
05-13-2008, 09:46 AM#5
DioD
damn :(

next time will use translator.

its some kind of bug, only cancel click can be detected in usial way.
05-16-2008, 05:40 PM#6
MCV
Ah, I knov of this problem. If I'm not wrong, the game will never read the clicking of an icon in the build/carry/revive field as an actual ability, so you need to catch the action itself. For transports, it's "unloads" but I don't know about Altars; Try "cancels training", it might overlap with reviving.
05-18-2008, 05:37 PM#7
Troll-Brain
Quote:
Originally Posted by MCV
Ah, I knov of this problem. If I'm not wrong, the game will never read the clicking of an icon in the build/carry/revive field as an actual ability, so you need to catch the action itself. For transports, it's "unloads" but I don't know about Altars; Try "cancels training", it might overlap with reviving.
no there is no integer/string order to catch