Difference between revisions of "EatObject"
From UODemo Wiki
(Created page with 'integer '''eatObject'''(object ''Eater'', object ''Eaten''); This function is not implemented and will therefor do nothing and always return 0. However, from the disassembly it'…') |
|||
Line 1: | Line 1: | ||
integer '''eatObject'''(object ''Eater'', object ''Eaten''); | integer '''eatObject'''(object ''Eater'', object ''Eaten''); | ||
− | This function is | + | This function will not do anything but to check the input.<br> |
− | + | If Eater is a NPC and Eaten is a valid object then 1 is returned.<br> | |
+ | In all other cases this full function will return 0.<br> | ||
+ | |||
+ | Note: from the disassembly it's clear that this function was ment to be only used by NPC's. | ||
Return to the [[Command List]]. | Return to the [[Command List]]. |
Revision as of 06:55, 21 October 2012
integer eatObject(object Eater, object Eaten);
This function will not do anything but to check the input.
If Eater is a NPC and Eaten is a valid object then 1 is returned.
In all other cases this full function will return 0.
Note: from the disassembly it's clear that this function was ment to be only used by NPC's.
Return to the Command List.