GDL
About building parametric objects with GDL.

Light MVO in GDL

vfrontiers
Enthusiast

I am trying to use the MVO for lights inside my GDL SCRIPT...

 

I cannot find the actual GLOB VARIABLE that would reflect the MVO selection... 

 

I see others that use the global variable   GLOB_MVO_STAIR....  for example....

But don't se any for LIGHTS or ELEC...

 

I tried to REVERSE ENGINEER an existing light, but GS GDL scripts go 9 ways to Sunday to do the simplest things!  So I could not follow... 

 

Any assistance would be appreciated!!!

 

 

Thanks

Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
2 REPLIES 2
runxel
Legend

 

I guess you mean these three bad boys?

 

runxel_0-1695938570043.png

 

This is how it's done:

lamp_symb = 0
rrr = LIBRARYGLOBAL("LibraryGlobals13", "iLSymbol", lamp_symb)

if rrr and lamp_symb then
  ! your code here
endif

 

Request the info from the "LibraryGlobals13" GDL (which constitutes the MVO panel).

The answer you can get is either 1, 2, or 3.

I think you'll figure it out from here on 😉

Lucas Becker | AC 27 on Mac | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!