Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: wistler on October 17, 2017, 12:48:49 pm

Title: Activate Turret with cooldown
Post by: wistler on October 17, 2017, 12:48:49 pm
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?