Difference between revisions of "SetDecayTest"

From UODemo Wiki
Jump to: navigation, search
(Created page with 'void '''setDecayTest'''(integer NewDecayTestMode);<br> This function can be used to set the object decay mode of the server. Reverse engineering ([http://www.joinuo.com/forums/v…')
 
m
Line 1: Line 1:
void '''setDecayTest'''(integer NewDecayTestMode);<br>
+
void '''setDecayTest'''(integer ''NewDecayTestMode'');<br>
  
 
This function can be used to set the object decay mode of the server. Reverse engineering ([http://www.joinuo.com/forums/viewtopic.php?f=32&t=852 source]) has shown that 3 modes exist.
 
This function can be used to set the object decay mode of the server. Reverse engineering ([http://www.joinuo.com/forums/viewtopic.php?f=32&t=852 source]) has shown that 3 modes exist.

Revision as of 20:10, 11 August 2011

void setDecayTest(integer NewDecayTestMode);

This function can be used to set the object decay mode of the server. Reverse engineering (source) has shown that 3 modes exist.

0 = no testing aka normal decay
1 = fast decay
2 = no decay aka ageless

If you pass any number other than 0, 1 or 2 then mode 2 is assumed and activated by this function.


Return to the Command List.