| 07-03-2002, 01:26 PM | #1 |
I create a map which make all computer unit attack-moveto a point. However, when a Centaur Khan(neutral unit) dies, it automatically reincarnate and did not follow what the trigger fired! What is so special about reincarnate unit? I even make a trigger that specially order the centaur khan to attack. E: A unit owned by P12(computer) revive C: Triggering unit-type is Centaur Khan A: Order trigger unit to attck moveto a point It still refuse to move to the point after reviving. What's wrong? Report this post to |
| 07-03-2002, 05:40 PM | #2 |
Guest | Hrm, what is it that makes it reincarnate, did you give it the skill? Or is it a trigger? Actually, what I think it might be is a case of misguiding wording on blizzards part. I think it's talking about reviving from an altar... what I'd do is this first make a timer variable called respawn or something trigger 1 Events: Unit owned by P12 dies Conditions: Dying unit-type is Centaur Khan (I try to avoid using 'triggering' unit definitions just cause they have little practical value in most cases) Actions: Start respawn as a one shot timer that expires in (time it takes for unit to respawn) seconds then you can have a trigger that goes off when the timer expires which does the attack-move... (is there a more graceful way to do this? I looked for a "Wait _ seconds" type action but could not find one") Actually, now that I think of it, depending on how the game works revival, it might work if you just change the event to "A unit owned by P12 enters playable map area." Anyways, two things to try, g'luck |
| 07-03-2002, 05:43 PM | #3 |
Isn't the plain old "wait" command from the beta still there? |
| 07-03-2002, 06:12 PM | #4 |
Actually, unless it's changed since the beta, it's not just for reviving from altars. It also worked for reviving with triggers for me. |
| 07-04-2002, 02:03 AM | #5 |
Guest | It's a skill. Head into the abilties of Centuar Khan and take it out, or set it to L0. |
| 07-04-2002, 10:29 AM | #6 |
No, I do not want to remove it! Why it still can't work? I used all sort of combination, event: A unit dies or a unit becomes revivable or a unit enter a playable map area condition: unit-type is a Centaur Khan action: make triggering unit or dying or whatever to force that idiot khan to move But it still wouldn't move. This F**ker is really making piss offf! |
| 07-05-2002, 12:54 AM | #7 |
Guest | Then you're not being really clear on what you want to happen. As he's getting close to dying, you want him to move? After reincarnating, you want him to move? |
| 07-05-2002, 03:01 AM | #8 | |
Quote:
I think you got it wrong! The trigger shows is what I've used to move the Centaur Khan! For some reasons, the Centaur Khan with its reincarnate abilities, cannot be detect as a dying unit which I'd tested before. However, after the reincarnation, if it dies again, it will remain permanently dead. When the abilities of reincarnation is removed, then it can be detected as dying unit when DEAD. Damn this joker capability makes me run and run and run the triggers so many times. |
| 07-05-2002, 01:37 PM | #9 |
Guest | I still think you can do it with the dying trigger, but you need to time it so that the actions will go off *after* the guy has been ressurected, so he'll be alive at the time it goes off. Use the Wait action (thanks dataangel, I guess I was a little tired while looking for it the first time) to delay the attack-move command. Another idea you might wanna try is making it so that it's not "trigger unit" attack move, but "all units of type centaur khan" attack move. But at this point I'm sorta drawing at straws. If you post the map I'd be glad to take a look at it and see what I can do |
| 07-05-2002, 03:09 PM | #10 |
Guest | you should know that when a unit dies, it will forget all orders it was issued in the first place. just make a seperate trigger that will go off after the movement trigger of centaur khan and event is of course time =0.5 (cant recall it correctly, doing this from a laptop) and action=the movement. if centaur khan dies and gets revived, this trigger, which will constantly repeat itself over 0.5 secs,will order him again to move to that point. when he reaches his destination make the trigger so that the contanst tirgger gets disabled |
| 07-05-2002, 04:10 PM | #11 | |
Quote:
That's the problem. As I've mention earlier, I even create a trigger to detect Centaur Khan dead. When Centaur Khan dies, add to unitgroup called DeadCentaur. When unit revive=Centaur Khan and unit is in unitgroup->DeadCentaur, order unit to attackmove to a point. However, due to the reincarnated-abilities, it simply wouldn't execute the trigger that is detecting the dead of Centaur. Even from a direct event that detect Centaur revive, it simply stood at the place like a idiot, refuse to obey orders specifically direct at him. DO YOU GET IT? |
