Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
When two nodes get's deleted at the same time the game crashes

Hello
Guest
Quote
2024-06-10 19:25:21

Hi,
I have two different enemies where each one has a enemy script. I've put "Delete a node" as an action on the AI-script's "Action on die".
When I have two enemies on screen that I kill at the same time, or within the same time almost - the game just crashes.
Why?

Thanks!


Guest
Guest
Quote
2024-06-10 22:39:46

In your "Delete a node", are you using the current node?


Hello
Guest
Quote
2024-06-10 22:51:53

Yes I am


Guest
Guest
Quote
2024-06-10 23:00:02

Are the enemies clones?


sven
Registered User
Quote
Yesterday

Sometimes it helps if you add MS to deletion..
Delete after x millisecond..
Depends oc on situation dependence on other scripts that may want to use deleted node but cant find it.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (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