Modding, Mission Design, and Coding > The Scripting Workshop
Activate Turret with cooldown
(1/1)
wistler:
Hi guys,
I'm messing around with turrets on a player controlled ship and there's a gameplay system I'm trying to create, which i may be able to do in SEXP but there may also be cleaner to do it via scripting.
I'm looking to tie turrets to a key, when the key is pressed the turrets become operational. After a while they turn off and need a certain number of seconds to cooldown. Once they've cooldowned they can then become operational again.
I thought the added bonus of using script may be in a HUD readout telling the player the status of the turrets (ready - activate - cooldown) and a counter? What do you guys think?
Navigation
[0] Message Index
Go to full version