deepdowngames21 Registered User |
Quote
|
2021-07-19 04:49:48 |
|
Hello all, I have recently decided that the default AI are too primitive for my project and I plan on developing my own AI behavior. Although I noticed that the Game Actor with Health behavior has a Mode option, what property type would let me create a drop-down in the editor where a user could pick a specific type?
It'd be very useful if you could link me a resource that lists all the different property types. I looked in the CC docs under Scripting and the Java Script References, but couldn't find anything about these property types.
Btw I'm kind of new to JS so yeah just to let you know.
This is my script so far:
/* <behavior jsname="behavior_rCAI" description="Ray's Custom AI"> <property name="Mode" type="" /> </behavior> */
behavior_rCAI = function() { };
|
just_in_case Moderator |
Quote
|
2021-07-19 05:54:04 |
|
Sorry, but enums are not possible for now in scripting paramters for actions and behaviours. So you can't really create a dropdown.
|