Quote
Originally posted by Glenn:
I believe the "standard" way for the player to cast a spell is to call an event that contains an Engine Call of type "Open player's spell dialog" - this will bring up the spellbook window for the player to select which spell to cast.
And, if you want the player to press 'c' to open the spell book, then creake a keydown that calles the event that Glenn mentioned.
In PoG's Trinity add-on, Beenox has made 2 keydowns for the conjurer class in order to use magic effectively: 'c' and 'v'.
The 'v' keydown does what Glenn mentioned; it calls an event that uses the event object "Engine call" of the type "Open player's spell dialog." The player can then choose the spell to cast and it fires off.
The 'c' keydown is actually a "recast" event. It allows the player to recast the last spell used so they don't have to re-open the spell book. Again this keydown calls an event which uses the event object "Engine call," but this time you switch the type to the "Last Spell cast" type(I'm not sure exactly what the name it since I don't have CGE in front of me).
Good luck Debra.
------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url)