| 05-12-2008, 08:39 PM | #1 |
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 |
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 |
| 05-13-2008, 08:51 AM | #4 | |
Quote:
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 |
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 |
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 | |
Quote:
|
