Press a button to turn another button on Created 20 years ago2004-06-22 09:11:04 UTC by Frel Frel

Created 20 years ago2004-06-22 09:11:04 UTC by Frel Frel

Posted 20 years ago2004-06-22 09:11:04 UTC Post #35395
I'm having trouble figuring this out so I'd appreciate any help you can offer.

DESIRED SITUATION:

The player needs to use a lift to exit the area. However, the power to that section is offline. The lights are out, and the lift button is inoperative. Nearby there are two power generators. When both buttons are pressed (not simultaneously), the generators activate (func_rotating etc.), the lights come on and the lift button is now operative.

I believe the env_global entity is used in conjunction with multisource and multimanager entities, but the specifics escape me, despite attempting to modify tutorials regarding the env_global to suit my purposes. Since I can't find a tutorial specific to this situation, I thought here would be the next best place.
Posted 20 years ago2004-06-22 09:47:10 UTC Post #35400
lemme draw a lil' thingy for you:
User posted image
The generators target a multisource (master), which targets the lights.
The lift buttons master is the multisource, which will make it only 'pressable' when the multisource is activated.
Posted 20 years ago2004-06-22 11:47:50 UTC Post #35435
env_global is used in a situation where the player has to change something between levels: i.e. you put the battery in in area 1 and the machine works now in area 2. Multisources are what you need in this situation, in conjunction with your multimanagers.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 20 years ago2004-06-22 11:48:40 UTC Post #35436
Prty drawin'
Posted 20 years ago2004-06-22 12:08:25 UTC Post #35448
Multisources and env_globals can be confusing at first, but once you know what they dp and how to use them, it becomes easy as, well, um, something easy.
m0p m0pIllogical.
You must be logged in to post a response.