HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Activating Raise Dead(Custom Spell)

07-28-2003, 05:10 AM#1
MiCroSlave
I have created a custom building, an Undead Bastion, which has a custom Raise Dead spell.

Problem is, I can't get its autocast on. Under the custom ability, the "Text - Order String - Activate" is raise dead, as it should be.

Here is the trigger:

Events:
Unit - A unit is issued an order with no target

Conditions:
(Issued Order) Equal to (Order(raisedeadoff))
Unit-Type of (Ordered-Unit) Equal to Undead Bastion

Actions:
Unit - Order (Ordered Unit) to Undead Necromancer - Activate Raise Dead
(For Debugging:)
Display to all players: "Turn it Back on!"
Creating floating text @ ordered unit that reads "Ordered Unit"


What it should do is, when a player deactivates this spell, it should turn it back on. What it actually does, is Display the text "Turn it back on", and then creates the floating text on the Undead Bastion. Everything should work, but the auto-cast doesn' get enabled :(.

Anyone have any ideas?
07-28-2003, 06:04 AM#2
Ultramagnetic
Okay I just tested it out and it works fine... Two things you need to try.


First try putting a wait .01 seconds before you turn raise dead back on. And if that doesn't work, keep the wait, and make all your 'ordered unit' functions be 'triggering unit' instead..