ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator When two nodes get's deleted at the same time the game crashes
person icon
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!

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

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

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

Yes I am

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

Are the enemies clones?

person icon
sven
Registered User
Quote
2024-06-12 13:52:10

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:










 

  

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 |