Reply To: white glow

Bank Notes: 2,860
May 18, 2012 at 5:46 pm #12259

Do I have to put all items on the list or there is any single line for all objects?

for each object separately to define the command

 

for example

the front door to the office of Bruno

game.highlighting:AddHighlighting(game.entitywrapper:GetEntityByName(“C_Door”)) – add light

game.entitywrapper:GetEntityByName(“C_Door”):EnableAction() – to open the door

 

the door to the jewelry

game.highlighting:AddHighlighting(game.entitywrapper:GetEntityByName(“5MA_jewellery00”)) – add light

game.entitywrapper:GetEntityByName(“5MA_jewellery00”):EnableAction() – to open the door

 

 

and activate the script is just next to the object