≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Calling parameters of behaviors in JS
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Oh ok thank you, that makes sense. I wasn't sure what the difference between executing js inside of CC was compared to the js file you had in the example that was there on its own, or really how CC knew to use it. So basically the js you had outside of the project is the equivalent of doing a Before First Draw js execution? So going back over the test.js script you made, I guess what I'm more getting at is that I'm wondering if there are ways to get deeper into the behavior's functions with JS. For example, here I see you've made a variable spawner where you get the variable from the ccbGetSceneNodeFromName, then you further get the position of the spawner in the line below it. I'm just in the Coppercube Documentation looking at the list of "all existing functions" and it seems like it doesn't include a variety of functions I'm regularly using in the editor, like "on proximity do something" or "when clicked on this do something." Or am I just misunderstanding how these functions work?[/quote]
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