Enormous

From IvanWiki
Revision as of 05:40, 1 September 2014 by 4zb4 (talk | contribs)
Jump to navigation Jump to search

Coding: This article contains code which is for experienced users only, and may reveal game secrets


IsEnormous is a script tag found within char.dat. It is only used to immediately state that a character cannot be transparent - this means the player cannot see terrain behind the character if the character is blocking their line of sight. Any further implications are unknown and unimplemented.

An enormous character normally blocks line of sight unlike most entities. However, an enormous character ceases to block line of sight if it is either composed of a transparent material (e.g. glass) or is currently invisible.

Current enormous characters:

truth character::IsTransparent() const 

{ 
  return !IsEnormous() || GetTorso()->GetMainMaterial()->IsTransparent() || StateIsActivated(INVISIBLE); 
}