UOX3 Script Engine

API and Event handling

Skill related functions

MakeMenu
Prototype
MakeMenu( sock, mnu );
PurposeOpens up make menu mnu and sends it to sock
Example of Usage
MakeMenu( sock, 1 );

 

MakeItem
Prototype
MakeItem( sock, player, itemNum );
PurposePlayer makes the item itemNum. itemNum points to a create.scp (SECTION ITEM itemNum) entry. Sock can be -1
Example of Usage
MakeItem( sock, player, 1 );

 

CalcRank
Prototype
int CalcRank( minRank, maxRank, minSkill, skillNum, playerChar );
PurposeCalculates the rankage of a player char when making an item with skill skillNum.
Example of Usage
var finalRank = CalcRank( 0, 10, 0, 0, mChar );

 

ApplyRank
Prototype
void ApplyRank( itemNum, rank );
PurposeApply's rank to an item itemNum that's been created
Example of Usage
ApplyRank( itemMade, 5 );
ęCopyright 2000-2001 WWW.UOX3.NET (Daniel Stratton/Matthew Randall)