Menu
Home
About
About GameGuru MAX
Demo Games
Help
Features
Education
News
Contact
Products
GameGuru MAX
GameGuru MAX DLCs
GameGuru Classic
Forums
Login
Forum Home
Search
Scripts
/ How is lightswitch used.
Author
Message
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined:
24th Feb 2015
Location:
England, UK
Profile
Posted:
26th Mar 2015 16:10
Link
I need to be able to switch on and off the lights in a level using the lightswitch.lua, but I can't seem to get it working any ideas????? Is it because lights are markers and not entities.
PM
Website
smallg
Community Leader
19
Years of Service
User Offline
Joined:
8th Dec 2005
Location:
Profile
Posted:
26th Mar 2015 16:51
Link
are you applying the script to the light itself?
seems to be a range issue, change it to about 450~500 and it works
life\'s one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
PM
Email
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined:
24th Feb 2015
Location:
England, UK
Profile
Posted:
26th Mar 2015 17:11
Link
i might try that thanks, hey it works, thanks smallg, have you looked at my music in the GameGuru store, most is FREE! Enjoy.
Here is the link
http://en.tgcstore.net/?md=artist-view&aid=219730
PM
Website
ccliffy
21
Years of Service
User Offline
Joined:
2nd Apr 2003
Location:
Profile
Posted:
31st May 2015 18:25
Link
now need a light switch entity
PM
Back to top
Login to post a reply
Server time is:
2024-12-22 01:26:33
Your offset time is:
2024-12-22 01:26:33