Difference between revisions of "EatObject"

From UODemo Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
 
integer '''eatObject'''(object ''Eater'', object ''Eaten'');
 
integer '''eatObject'''(object ''Eater'', object ''Eaten'');
  
This function will not do anything but to check the input.<br>
+
This function will not do anything except checking the input.<br>
 
If Eater is a NPC and Eaten is a valid object then 1 is returned.<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>
 
In all other cases this full function will return 0.<br>

Latest revision as of 06:56, 21 October 2012

integer eatObject(object Eater, object Eaten);

This function will not do anything except checking 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.