0.63.3 bits and pieces
Posted: Tue Oct 09, 2012 9:15 am
just a lil thread to keep track of some new world owner toys in 0.63.3
-----------------
Custom 'Use Item' Text
can now be used to set custom text for individual items on the inventory popup (replacing the standard 'Use Item' text that is normally determined by the item type)
-----------
Overriding standard menu options with script
Manually override the buttons you want to using:
Valid [OPTION_NUM]s right now are :
1- F9 option on the mini menu
2 - 1st option on the player popup menu (replaces barter)
3 - 2nd option on the player popup menu (replaces challenge)
4 - 3rd option on the player popup menu
5 - 4th option on the player popup menu
6- 9 : [Reserved for later use]
10 - 14 : Battle options
e.g. Doing
Means that when you click a player's name, instead of "Barter with" being the top option, "Attack" is instead. When selected by the user, the server triggers a MenuOption event instead of the Barter one. e.g.
-----------------
Custom 'Use Item' Text
Code: Select all
*itemusetext ITEMNUM,Text
-----------
Overriding standard menu options with script
Manually override the buttons you want to using:
Code: Select all
*scriptedoption [OPTION_NUM],[TEXT]
1- F9 option on the mini menu
2 - 1st option on the player popup menu (replaces barter)
3 - 2nd option on the player popup menu (replaces challenge)
4 - 3rd option on the player popup menu
5 - 4th option on the player popup menu
6- 9 : [Reserved for later use]
10 - 14 : Battle options
e.g. Doing
Code: Select all
*scriptoption 2,Attack
Code: Select all
Event( "MenuOption", "2" )
{
*msg %PLAYER% You selected option 1 on player %TARGET%
}