StapleNinja Posted December 23, 2008 Share Posted December 23, 2008 Ok so guys I was wondering how one would go about making lights that can turn on and off in the CS. I do know you need scripts etc. but I suck at scripting and Im not sure on the specifics. If anyone could point me in the right direction it would be greatly appreciated. :biggrin: :thanks: -SN- :ninja: Link to comment Share on other sites More sharing options...
alex2avs Posted December 23, 2008 Share Posted December 23, 2008 a simple example (you'll need 2 activators for this ) begin onActivate [ObjectRefID.].disable end and for the other activator begin onActivate [ObjectRefID.].enable end to use one activator you must use this condition [ObjectRefID.]GetDisabled == like this : begin Onactivate if [ObjectRefID.]GetDisabled == 1 [ObjectRefID.].enable elseif [ObjectRefID.].disable endif end where [ObjectRefID.] is the id of the light bulb Link to comment Share on other sites More sharing options...
StapleNinja Posted December 23, 2008 Author Share Posted December 23, 2008 thanks alex haha it seems like you always have my back :biggrin: Link to comment Share on other sites More sharing options...
alex2avs Posted December 23, 2008 Share Posted December 23, 2008 it was my pleasure :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.