Jump to content

Home

Switches


B0MBER II

Recommended Posts

create 2 func_usables (that'll be a switch). Now, apply "switch off" textures to 1 func_usable and and "switch on" texture to the other. Make that one with OFF texture start off (by clicking "startoff box in the entity window"). Also, give them both the same targetname, ie: "switch1".

Then you can put a trigger_multipe (mark player_use box in the entity view) in front of your switch connected to target_scriptrunner.This scriptrunner should run the short script, smth like this:

 

use ("switch1");

// code to open the door

wait (3000);

use ("switch1");

 

This script will basically toggle 2 func_usables making an effect of a switch activating.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...