EEex_ReadySpell

Ready the spell associated with the button data

EEex_ReadySpell(m_CGameSprite, m_CButtonData, instantUse, offInternal)

Parameters

  • m_CGameSprite - pointer to game sprite object

  • m_CButtonData - pointer to button data

  • instantUse - boolean true or false to use instantly

  • offInternal - boolean true or false to use from an internal list

Returns

None

Notes

Used internally in EEex_PlayerCastResref, EEex_PlayerCastResrefInternal and EEex_PlayerCastResrefNoDec

Example

EEex_ReadySpell(m_CGameSprite, m_CButtonData, 1, false)

See Also

EEex_PlayerCastResref, EEex_PlayerCastResrefInternal, EEex_PlayerCastResrefNoDec, EEex_UseCGameButtonList, EEex_GetQuickButtons