RoM Functions

From SolarStrike wiki
Revision as of 15:46, 8 September 2009 by D003232 (talk | contribs) (Functionlist)
Jump to: navigation, search

Functionlist

change_profile_option(_option, _value);

change profile options and print values in MM protocol

open_giftbag( [[_player_level] , _maxslot] );

open giftbag (at the moment level 1-10)

addMessage( message );

Send a message to the ingame system chat channel.

RoMScript( _script );

example:
local ret1, ret2 = RoMScript( "GetPlayerWorldMapPos();" );

Send a macro to the client and execute it ingame by pressing the MACRO hotkey. There are up to 10 return values possible.

send_macro( _script );

Same as "RoMScript. Additionally you will see a message in the MM window.