ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Feature requests and bug reports
forum topic indicator [BUG] At random intervals do something
person icon
veganpete
Registered User
Quote
2023-07-04 13:45:07

[SOLVED Not a bug.

There appears to be a bug with the "At random intervals do something" behaviour.

I've set my game up as follows (visual code):

Behaviour: At random interval (20,000ms),
Action: If var "Sortee" >5, Set var "Sortee" = "-1"


What I expect to happen is:
At random intervals of 20 seconds, variable "Sortee" should be set to -1 (only if it's bigger than 5).

What actually happens is:
At random intervals of 20,000ms, variable "Sortee" is being set to "-1" (whether it's smaller than 5 or not).

person icon
VP
Guest
Quote
2023-07-04 14:01:05

Ah,hang on - I keep forgetting - it may just be the same old bug I've encountered every other time I've had problems - it'll be one of Niko's original extensions from the Coppercube site causing all the problems (probably the "animate scale" plugin).

https://www.ambiera.com/coppercu...

JIC if it is the animate scale plugin, can you update it with the fixed version, or simply delete it from the Ambiera site and your Neophyte site please to prevent future issues please, it just creates too many problems with variables - every time I use it, it completely breaks my game by resetting variables and creating infinite loops with random actions. Huge problem.

person icon
veganpete
Registered User
Quote
2023-07-04 14:06:27

Just checked, it's not the "Animate scale" extension at fault this time.

It was my own stupid fault - not sure how it happened but somehow I had accidentally placed an actionin the The "Directional Light" node. An "At random intervals" event was resetting the sortee variables.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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