Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
random patrol bug?

coa
Guest
Quote
2022-01-15 08:52:40

Im trying to set up random patrol for clones but its not working
the clones only move very strange

Ive tried everything,, is this a bug?

Here is the ccp file with the test for anyone that can help.
https://drive.google.com/file/d/...


just_in_case
Moderator
Quote
2022-01-15 13:13:04

Will have a look at it when I reach to my Desktop.


just_in_case
Moderator
Quote
2022-01-15 14:12:23

So I tested your CCB File and found that you are using the action on the clone to set the position to a random area and that's not a good option.

As you are checking the cloning variable every few seconds so it will set the position to a random location every few seconds for all the cloned nodes as per the action supplied to the cloned nodes. hence ignoring the Random patrolling function og the CopperCube default AI behavior. just remove that action that sets the position of the cloned nodes, and then everything will start working fine. but the cloned nodes will be spawned from a single location.


coa
Guest
Quote
2022-01-15 18:38:14

thanks just_in_case ! its working now, I tried so many thinks to get it to work


coa
Guest
Quote
2022-01-15 19:30:03

this is troubling me how can i keep the original game action note safe so i can continue cloning him


coa
Guest
Quote
2022-01-16 09:23:35

so i was trying to set the cloned game actor nodes randomly in a area ,, and i used do something later on the action to do with the clone it works as long as the nodes hit the platform first before they are moved.

and i made the original node un killable with every 1ms change health to 100

this is what i came up with if anyone needs the info ,, please tell me if there is a better way


coa
Guest
Quote
2022-01-16 10:01:41

so i found out this method did not work because the nodes walked back to the original start position.. so i made a change I moved the original node each 1000ms to a random position then i used do later 900ms clone original node. I had to make sure the original node would hit the platform first before cloning him.
so the game actor would work hope this helps someone


Create reply:


Posted by: (you are not logged in)


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