Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you disable Global Shadows in-game with a script using Kohl's Admin?

Asked by 10 years ago

Trying to show someone something in-game but I don't want to keep having to update the server and have to go back.

I tried using :s

game.Lighting.GlobalShadows.Disabled = true

and

game.Lighting.GlobalShadows.Enabled = false

Is there a way that actually works? Because these don't.

0
For future reference, you can ask how to do things with a command, as that is the proper terminology for that. :s is an admin command that acts like the Command bar in Studio. Maxomega3 106 — 10y

3 answers

Log in to vote
5
Answered by
gskw 1046 Moderation Voter
10 years ago

Actually, the script is as simple as this:

game.Lighting.GlobalShadows = false
Ad
Log in to vote
0
Answered by 10 years ago
game.Lighting.GlobalShadows = false

Use this if you would like to disable and enable GlobalShadows through the whole game.

But if you just don't want GlobalShadows at all, then open your lighting in Explorer and go to its properties and look for "GlobalShadows" and tick or untick the box.

Simples :D

If this helped, remember to Accept my answer and vote me up.

Thank you and have fun with all your scripting :D

Log in to vote
-3
Answered by 10 years ago

if you want to script trough kohl's admin, you have to add :s

so you have to chat

:s game.Lighting.GlobalShadows = false

Answer this question