View Single Post
  #4  
Old 04-05-2006, 06:50 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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.
__________________
Skyld
Reply With Quote