Author Topic: Activate Turret with cooldown  (Read 744 times)

0 Members and 1 Guest are viewing this topic.

Offline wistler

  • 28
Activate Turret with cooldown
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?
« Last Edit: October 17, 2017, 04:35:29 pm by wistler »