Runes of Magic Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a boolean indicating whether the CTRL key is depressed.

keydown_state = IsCtrlKeyDown()

Parameters

Arguments

none

Returns

true/false - boolean value if the CTRL key is in the down state.


Example

if (IsCtrlKeyDown()) then
    CastSpellByName("Flame");
else
    CastSpellByName("Fireball");
end

Notes

Related Functions

Advertisement