Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Retrive dynamic lights placed in WED [Re: DJBMASTER] #303157
12/26/09 02:58
12/26/09 02:58
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Awesome! That's exactly what i needed laugh

THANKS! laugh

[edit] one little thing: what do i have to change so it retrives all lights that have the dynamic flag set? if i set [dynamic] together with [highres] and/or [static] in WED, they aren't retrived anymore. Not that much of a big deal, but it would be nice to have that feature laugh


Shade-C EVO Lite-C Shader Framework
Re: Retrive dynamic lights placed in WED [Re: BoH_Havoc] #303165
12/26/09 09:12
12/26/09 09:12
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ermm, you can just add some more clauses identical to the 'if(flags == 2)' bit, using the following values...

flags = 0 >>> (static light)
flags = 1 >>> (hi-res static light)
flags = 2 >>> (dynamic light)
flags = 3 >>> (hi-res dynamic light)

So all dynamic lights (hi-res or not), just change the if statement to 'if(flags == 2 || flags == 3)'.

Any more problems, don't hesitate to ask.

DJB.

Last edited by DJBMASTER; 12/26/09 09:14.
Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1