Monday, July 16, 2007

Flare

code: http://blacksteel.nma-fallout.com/tutorial/code3.txt
When you hold in hand "burning" fare, light level on area will increase, when you hide flare to backpack light level will again decrease. Add this script to critter (because he is check by game engine very fast) and hide him behind wall or different map level (because when you kill him, script will work no longer) Script check what item you have in hand. When its burning flare, then increase light level, otherwise decrease it to darkness.