Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FadeLightTo not working with asterisk?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#13
RE: FadeLightTo not working with asterisk?

I know that method works, the only problem was that I couldn't use it with the co-ord system as efficiently, since they have 4 altering numbers. ALTHOUGH, I did mess around with it for a while, and I think I got something I can use.

PHP Code: (Select All)
for(int x 0<= 5x++) for(int y 0<= 5y++) {
    
int a x+1;
    
int b y+1;

    
FadeLightTo("light_x"+x+"y"+y+"_x"+a+"y"+y000001);
    
FadeLightTo("light_x"+x+"y"+y+"_x"+x+"y"+b000001);


I haven't seen any problems with it yet, so I suppose it's a solution I can use. It doesn't really answer the original question about why the asterisk wasn't working, but it'll do.

(This post was last modified: 06-15-2014, 02:10 AM by Mudbill.)
06-15-2014, 02:09 AM
Find


Messages In This Thread
RE: FadeLightTo not working with asterisk? - by Mudbill - 06-15-2014, 02:09 AM



Users browsing this thread: 1 Guest(s)