ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator custom scripts is not defined when loading other .ccb
person icon
lovareth_dev
Registered User
Quote
2017-12-12 03:20:30

I want to load other .ccb file from the main game program. The .ccb file loaded but throw an error into the console:

script1.ReferenceError: action_mycustomscript is not defined

I think the problem only occurs for custom script.

Actually i found a solution by putting the custom script inside the main game program (just putting inside any object) so the main program "knows" the custom script.

But,
how to appropiately define my custom script for loaded .ccb file?

person icon
niko
Moderator
Quote
2017-12-12 10:12:41

Hi,
this is a bug in the engine, sorry for this. There will be an update next week which also fixes this problem. Hope you can wait until then.

person icon
lovareth_dev
Registered User
Quote
2017-12-12 14:03:23

Oh i see.. glad that the fix is on next update emoji icon_holy
Can't wait for the next update! Thanks for the response!

person icon
ryandavanzo
Registered User
Quote
2023-12-30 23:00:52

still not fixed...


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 |