Difference between revisions of "EatObject"

From UODemo Wiki
Jump to: navigation, search
(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'…')
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
integer '''eatObject'''(object ''Eater'', object ''Eaten'');
 
integer '''eatObject'''(object ''Eater'', object ''Eaten'');
  
This function is not implemented and will therefor do nothing and always return 0.
+
This function will not do anything except checking the input.<br>
However, from the disassembly it's clear that this function was ment only to be used by NPC's.
+
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]].

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.