View Single Post
Old 04-16-2005, 07:55 PM   #2
Legolas
Jack Burton
 

Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 40
Posts: 5,459
You'll want to use some scripting, and then one of the following functions to achieve the conjuring effect:

ActionCastFakeSpellAtLocation
ActionCastFakeSpellAtObject
ActionCastSpellAtLocation
ActionCastSpellAtObject
ActionPlayAnimation
PlayAnimation

They all work in a slightly different way depending on what you want.

The script itself would probably be best placed on a trigger by the room's entrance.

You want it to fire only once, so use an integer on the trigger to keep track of that.

GetNearestObjectByTag lets you find the wizard in your script.

ActionCastFakeSpellAtLocation is probably the best function to use. It helps to set up a waypoint where the daemon is summoned.

In addition to casting the fake spell, you might want to copy the visual and spawn-in effects from the Gate spell, changing the creature to be summoned.

If you need more help just ask; in the long run this might be more helpful than giving you the entire script though.
Legolas is offline   Reply With Quote