≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Extending Internal Objects
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]DouweDabbe[/b] wrote: Hi robo and others Let me clarify my question: For example, if you use the CC action: "Drag 3D Object with constraints" You get to fill in the properties panel but also the code to look at. And there in the code you wil see the objects name: "action_Drag3DObject" This action although a bit simple is very suitable to be turned into some sort of player avatar. And because you want your player avatars to be universal you woud give it usercontrol functions. And pathfinding routines so it also can be used as an enemy avatar. And you can do that; because you know its Object name, you can extend that script with your own functions, like so: functions usefull for an enemy node: "action_Drag3DObject".prototype.findPathToPlayer = function() {} "action_Drag3DObject".prototype.followPathToPlayer = function() {} and the functions usefull for an player node: "action_Drag3DObject".prototype.movePlayerTo = function() {} etc. etc. Now why reinvent the wheel if it is already largely there? thats why I want to know the name of the inbuild object "Game Actor with Health (AI, Player)" so that I can extend it with my own custom functions But only Niko knows them ?[/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