ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator Change Behaviour/Action properties at Runtime.
person icon
mostock
Registered User
Quote
2023-01-21 21:38:11

Hi, I want to change Behaviour/Action properties at runtime, like changing player's speed at runtime programmatically.

thanks in advance emoji icon_grin

person icon
just_in_case
Moderator
Quote
2023-01-22 04:46:30

Well, there are only some parameters that you can change with special variables. Movement speed can be changed with the special variable
player.movementspeed
there is hashtag prefix also. player is the name of the scenenode whose speed you want to change.
Also it will only work if you are using inbuilt behaviors like AI or controlled by keyboard.

Other than that, no you can't acess inbuilt behaviors or actions during runtime. however if you are using third party extensions then you already have the source code, you can modify it and can alter the parameters during runtime, but not for inbuilt animators(behavior) and events(action).


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 |