PDA

View Full Version : murderball location lua stuff


Nuk3m
12-27-2008, 04:57 AM
i need lua code, that will, in essence update the middle fixture, when the ball enters a specific base.

when the player, enters blue base, the default brush, becomes disabled, and the new blue brush becomes enabled. when they leave, the blue brush becomes disabled and the default brush becomes enabled. when the player drops the ball, and the ball returns back to the center, disabled the blue brush, and enable the default brush, if the ball was in the yard, and the default brush was already enabled leave it alone.

if the ball is picked up, disable the middle white spotlight, when the ball is back at the starting point, enable it again.

might want to message me for the vmf file, i actually have planned for a lot of switches to take place when a person takes the ball, then/or, enters a base.