version 1.7 | | version 1.8 |
---|
| | |
Get the Armor Class coefficient associated with the given object. | | Get the Armor Class coefficient associated with the given object. |
Returns the armor class coefficient as an integer. | | Returns the armor class coefficient as an integer. |
| | |
| | GetArchType(object who) |
| | Get the archtype name of an object. |
| | Returns the archtype as a string. |
| | |
GetAttackType(object who) | | GetAttackType(object who) |
Determine the attack type of an object. | | Determine the attack type of an object. |
Returns the attack type as an integer. | | Returns the attack type as an integer. |
| | |
Returns the dexterity value as an integer. | | Returns the dexterity value as an integer. |
| | |
GetDirection(object who) | | GetDirection(object who) |
Determine the direction an turnable object 'who' is currently facing. Use | | Determine the direction an turnable object 'who' is currently moving. Use |
IsTurnable(who) to determine if an object is turnable. | | IsTurnable(who) to determine if an object is turnable. |
Returns the direction as an integer. | | Returns the direction as an integer. |
| | |
| | |
Get the amount of experience associated with the object. | | Get the amount of experience associated with the object. |
Returns the event options as a long. | | Returns the event options as a long. |
| | |
| | GetFacing(object who) |
| | Determine the direction an turnable object 'who' is currently facing. It |
| | is similar to GetDirection except it works for non-moving objects too. See |
| | GetDirection for details. |
| | Returns the direction as an integer. |
| | |
GetFirstObjectOnSquare(map map, int x, int y) | | GetFirstObjectOnSquare(map map, int x, int y) |
Get the first object at position (x,y) in the map 'map'. Use | | Get the first object at position (x,y) in the map 'map'. Use |
GetPreviousObject() to find the next item(s). | | GetPreviousObject() to find the next item(s). |
| | |
Get the last_sp parameter value associated with the given object. | | Get the last_sp parameter value associated with the given object. |
Returns the last_sp value as an integer. | | Returns the last_sp value as an integer. |
| | |
| | GetLevel(object who) |
| | Get the level of a given object. |
| | Returns the level as an integer. |
| | |
GetLocalDirectory() | | GetLocalDirectory() |
Return the name of the base directory containing the Crossfire read-write | | Return the name of the base directory containing the Crossfire read-write |
data files. | | data files. |
| | |
Throws an exception if the value is less than -30 or higher than 30. | | Throws an exception if the value is less than -30 or higher than 30. |
| | |
SetDirection(object who, int dir) | | SetDirection(object who, int dir) |
Set the direction 'who' is currently facing. | | Set the direction 'who' is currently moving. |
Does not return a value. | | Does not return a value. |
| | |
SetEventHandler(object who, int event, string script) | | SetEventHandler(object who, int event, string script) |