• Question about protect the secret room
    2 replies, posted
Can i restrict noclip in the trigger zone? I have a secret room on the map, and I want it to be protected from the noclip, teleports and other, only the knowledge of the password will give access to this zone, can this be realized?
Use a filtered trigger_teleport. filter_activator_name Name: secretFilter Entity to filter: PlayerSecret Disallow Entity that match criteria In your trigger_teleport (check Client flag), set secretFilter as the Filter. That way everyone who touch the trigger will get teleported away, except a player whose targetname is PlayerSecret. Now for your password thing, when the player find the good password, do something like: OnPressed > !activator > AddOutput > targetname PlayerSecret > Delay=0 - OnPressed would be used on the last button of your digicode, but you can use a trigger_once behind a closed door: OnStartTouch > !activator > AddOutput > targetname PlayerSecret > Delay=0 And a trigger_teleport behind that door, lead to the secret room
[QUOTE=Moltard;52460608]Use a filtered trigger_teleport. filter_activator_name Name: secretFilter Entity to filter: PlayerSecret Disallow Entity that match criteria In your trigger_teleport (check Client flag), set secretFilter as the Filter. That way everyone who touch the trigger will get teleported away, except a player whose targetname is PlayerSecret. Now for your password thing, when the player find the good password, do something like: OnPressed > !activator > AddOutput > targetname PlayerSecret > Delay=0 - OnPressed would be used on the last button of your digicode, but you can use a trigger_once behind a closed door: OnStartTouch > !activator > AddOutput > targetname PlayerSecret > Delay=0 And a trigger_teleport behind that door, lead to the secret room[/QUOTE] Thanks!
Sorry, you need to Log In to post a reply to this thread.