I'm currently doing a zombie mission and i want several cars to be around the city with there lights still on and the 'crew' dead inside or missing. How can I do this. I've browsed the forums and havent found anything. Also looking through wikipedia and OFPEC has just left me with a headache.
Is there anyway to do this without doing a script?
Try this:
there's no way, cause it must be engine on...
I haven't tried it now to make sure, but if you enter a vehicle, the lights do come on with 'engine on', as I left the vehicle, the lights remained on....I'm sure they did.....I think...maybe....
So could you not add a vehicle with AI inside, then run a command to move the AI soldier from the car to another part of the map to hide him? Would that not work guys?
But of course you can. This is done by ejecting the vehicle. As Electroself told above, ejecting vehicle keeps its engine and lights on. Try this:
Create a game logic, and use moveInDriver on the game logic to put him inside the car you wish the lights to be on in. That should do the trick for you.
Tyger, is that even possible? Does this mean you can put "invisible" drivers in vehicles too driving around?
EDIT: Well, I just had a try on it myself and it sure works. I didn't get them to drive around though... Silly guess.
This is actually way simplier than everyone is making out.
Rellikki's approach is pretty much it, but it won't work because he's trying to have a vehicle call the action event, only soldiers can. Also, as Linker correctly pointed out the engine needs to be on.
So, yeah, just use the EngineOn command.
In the vehicle init:
how do you get a tank with the crew to keep its lights on?
Use the scripting command setBehaviour and its parameter "careless" or "safe": tank1 setBehaviour "careless";
Thank you for good communication.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)