| FindMulti | ||
|---|---|---|
| ProtoType | multiID FindMulti( x, y, z, worldNumber ); | |
| Purpose | Finds the multi that is in the area of the coordinates (x, y, z) in world worldNumber (0 == Britannia, 2 == ilshenar) | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalking, 0 ), GetY( pTalking, 0 ), GetZ( pTalking, 0 ) ); | |
| IsInMulti | ||
|---|---|---|
| ProtoType | bool IsInMulti( multiID, object, objType ); | |
| Purpose | Returns true if the object (objType == 0 indicates character, objType == 1 indicates item) is in the multi multiID. | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalking, 0 ), GetY( pTalking, 0 ), GetZ( pTalking, 0 ) ); | |
| IsOnBanList | ||
|---|---|---|
| ProtoType | bool IsOnBanList( multiID, pChar ); | |
| Purpose | Returns true if the character pChar is on multiID's ban list | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalking, 0 ), GetY( pTalking, 0 ), GetZ( pTalking, 0 ) ); | |
| IsOnOwnerList | ||
|---|---|---|
| ProtoType | bool IsOnOwnerList( multiID, pChar ); | |
| Purpose | Returns true if the character pChar is an owner of multiID | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalking, 0 ), GetY( pTalking, 0 ), GetZ( pTalking, 0 ) ); | |
| AddToBanList | ||
|---|---|---|
| ProtoType | bool AddToBanList( multiID, pChar ); | |
| Purpose | Adds the character pChar to the multiID's ban list. Returns true if the parameters are valid. | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalking, 0 ), GetY( pTalking, 0 ), GetZ( pTalking, 0 ) ); | |
| AddToOwnerList | ||
|---|---|---|
| ProtoType | bool AddToOwnerList( multiID, pChar ); | |
| Purpose | Adds pChar to the multiID's owner list. Doesn't remove existing owners at all. Won't duplicate if already on the list. | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalkingTo, 0 ), GetY( pTalkingTo, 0 ), GetZ( pTalkingTo, 0 ) ); | |
| RemoveFromBanList | ||
|---|---|---|
| ProtoType | bool RemoveFromBanList( multiID, pChar ); | |
| Purpose | Removes pChar from multiID's ban list. Returns true on correct parameters. | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalkingTo, 0 ), GetY( pTalkingTo, 0 ), GetZ( pTalkingTo, 0 ) ); | |
| RemoveFromOwnerList | ||
|---|---|---|
| ProtoType | bool RemoveFromOwnerList( multiID, pChar ); | |
| Purpose | Removes pChar from multiID's owner list. Returns true on correct parameters. | |
| Example of Usage | var iMulti = FindMulti( GetX( pTalkingTo, 0 ), GetY( pTalkingTo, 0 ), GetZ( pTalkingTo, 0 ) ); | |
| IsMulti | ||
|---|---|---|
| ProtoType | bool IsMulti( iToCheck ); | |
| Purpose | Returns true if the item iToCheck is actually a multi | |
| Example of Usage | if( IsMulti( GetCharPack( pTalking ) ) ) | |