Thread: Light Effects
View Single Post
  #7  
Old 03-26-2001, 07:52 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Yup what Fai said works... And the script that Gabriel posted is for giving it a slowly getting bigger/smaller effect I actually already scripted something like that on the first day I downloaded Graal2001 However if you want to use it with showimg you'll have to amke use of the command:

NPC Code:
changeimgcolors index,r,g,b,a;



For R G B and A you should always use values between 0 and 1, adding the command rawaslight to an NPC will make it immune to the effects of seteffect (Or was it setcolor?) which Graal2001 uses for it's day/night.
Although if for showimg you are already making use of seteffect in the level, I think that if you add the seteffect effects to the normal values for that showimg it will look like drawaslight.

But there is also the more easy and logical to use:
NPC Code:
setzoomeffect zoom;


Which basically takes the imageheight and imageweight * zoom. The showimg variation of that one is:
NPC Code:
changeimgzoom index,zoom;



And blah this is about my longest post yet I think
__________________

Reply With Quote