More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 21, 22:34:26

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  Making things fade or not fade as you close in
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Making things fade or not fade as you close in  (Read 6357 times)
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Making things fade or not fade as you close in
« on: 2006 February 20, 08:14:53 »
THANKS THIS IS GREAT

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))

Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 20 queries.