
04-05-2006, 06:50 PM
|
|
Script-fu
|
 |
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
|
|
|
drawaslight() only affects the NPC's actual image, which in the case of a weapon NPC, is not at all useful.
You can modify where the image is displayed by changing it's layer, i.e. changeimgvis(index, 0); will draw underneath the player, 1 and 2 will draw above the player, 3 above the darkness (seteffect()) layer, 4 upwards on the GUI layer.
Problem is, is that drawing underneath the player will mean that the light effect is mostly shut out by any daynight-style system. |
__________________
|
|
|
|