Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / light type() function return values don't agree with Help file

Author
Message
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th Aug 2010 02:18
Again, the title speaks for itself.

This is what the Help file says:

Quote: "LIGHT TYPE
This command will return 1 for point, 2 for spot and 3 for directional light type.

Syntax

Return Integer=LIGHT TYPE(Light Number)

Parameters

Light Number

Integer
The light number

Returns

This command will return 1 for point, 2 for spot and 3 for directional light type
"


This is what you get:

Login to post a reply

Server time is: 2024-04-25 03:30:52
Your offset time is: 2024-04-25 03:30:52