Modme Forums

TEXTURE APPEAR WITH POWER ?

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: Zakkarof

Is it possible to make a texture wich appear only when I turn on power please ? Wich line and KVP I have to put ? Please and thanks.


ModmeBot:

Reply By: alexisloic21

Zakkarof

Is it possible to make a texture wich appear only when I turn on power please ? Wich line and KVP I have to put ? Please and thanks.

Yes i will show you how to do


ModmeBot:

Reply By: alexisloic21

Zakkarof
thread lightstate();

function lightstate()
{
	level flag:wait_till("power_on");
	level util::SetLightingState(1);
}



Is it possible to make a texture wich appear only when I turn on power please ? Wich line and KVP I have to put ? Please and thanks.


ModmeBot:

Reply By: alexisloic21

Zakkarof

Is it possible to make a texture wich appear only when I turn on power please ? Wich line and KVP I have to put ? Please and thanks.

put this in yout gsc folder


ModmeBot:

Reply By: Zakkarof

Where ? In the gsc but where ?


ModmeBot:

Reply By: Exofile

Zakkarof

Where ? In the gsc but where ?

This won't simply make a texture be able to appear once power is turned off. All it does is change the lightingstate when power is on.


ModmeBot:

Reply By: alexisloic21

At worst you make your wall disappear and come back with another texure