Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
anyone know do i make when i shoot it has cooldown?

Registered User
2021-08-08 22:37:45

i need to make that when i shoot it has a cooldown like 1 or 2

if anyone know pls tell me :(

Aiming bullets
2021-08-11 18:10:00

Use variables with do something later action

Registered User
2021-08-17 15:04:23

I used cooldown in my game ("P" is fire minigun)....

As mentioned,by Aiming Bullets above: use a variable "cooldown" (or whatever you want) and an "If" statement - so it only shoots if "cooldown" is not overheated.

In my game, I used this (in the scene graph explorer, using actions)...

When fire key is pressed:
If variable "cooldown" <100, Shoot, Variable "cooldown" +1

When fire key is released:
If variable "cooldown" >0, Variable "cooldown" -1

Gun heats up and cools down, I also added sounds for when it's overheated.

Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "Intern?tional" (you are not logged in)




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact