More Awesome Than You!

The Bowels of Trogdor => The Small Intestines of Trogdor => Topic started by: Inge on 2006 February 20, 08:14:53



Title: Making things fade or not fade as you close in
Post by: Inge on 2006 February 20, 08:14:53
I have had several PMs asking me how to make things fade or not fade as you get close to them.  It's flag #4 of Flag Field 2.

The below code is an example of an Init that *stops* an  object fading.  If you want it to fade, change Clear Flag to Set Flag.


     0000 : 2006 : FFFFFFFFFFFFFF87A83E010056A3 : 01 : 0001 : FFFC
[semi 0x2006] Function - Init ()

     0001 : 2003 : FFFFFFFFFFFFFF4CF4120000C98D : 01 : 0002 : FFFC
[semi 0x2003] Init - Ceiling ()

     0002 : 0002 : 28000400000A0300000000000000 : 01 : FFFD : FFFC
[prim 0x0002] Expression (My 0x0028 (flag field 2) Clear Flag flag# Literal 0x0004 (Obstructs View))