Special case: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
add and cprrect early return semantics, add resetplayer to the list
add killit to the code-*returners*
 
Line 3: Line 3:
[[addphealth]] has a higher limit when used in the [[ATOMICHEALTH]] actor.
[[addphealth]] has a higher limit when used in the [[ATOMICHEALTH]] actor.


[[killit]] always '''[[return]]'''s out of the code.<br/>
[[resetplayer]], [[addammo]], [[addweapon]] and [[addweaponvar]] potentially '''[[return]]''' out of the code.
[[resetplayer]], [[addammo]], [[addweapon]] and [[addweaponvar]] potentially '''[[return]]''' out of the code.

Latest revision as of 14:42, 10 May 2012

THISACTOR behaves differently in get/setplayer/sector than when used anywhere else.

addphealth has a higher limit when used in the ATOMICHEALTH actor.

killit always returns out of the code.
resetplayer, addammo, addweapon and addweaponvar potentially return out of the code.