Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
[BUG] At random intervals do something

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).


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.


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:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

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


   






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