Guest Bombyx Posted August 11, 2009 Report Share Posted August 11, 2009 Hi, i'd like to know how to test quickly a script (if possible) ? Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted August 11, 2009 Report Share Posted August 11, 2009 place it in game, and run it... That's about the only way to do so Quote Link to comment Share on other sites More sharing options...
Guest Bombyx Posted August 12, 2009 Report Share Posted August 12, 2009 ok thanks.And someone know if it's possible to modify traffic lights during game through a script ? or the game doesn't manage traffic lights through scripts ?is it possible through this command : void EnableTrafficLight(TrafficLightType type_); to switch red/yellow/green a traffic light when I click on it with a script ? if it's possible, i'll try to make a script... Quote Link to comment Share on other sites More sharing options...
pyrothijs Posted August 12, 2009 Report Share Posted August 12, 2009 ok thanks.And someone know if it's possible to modify traffic lights during game through a script ? or the game doesn't manage traffic lights through scripts ?is it possible through this command : void EnableTrafficLight(TrafficLightType type_); to switch red/yellow/green a traffic light when I click on it with a script ? if it's possible, i'll try to make a script...The game uses another code to make the traffic lights work. You can find out about that in this topic. But if you rename the traffic lights in the propreties screen in the editor you can use that name in the script you want to make. I really don't know how to script what you want, so I'll leave it at this. Quote Link to comment Share on other sites More sharing options...