Is there an API to enable/disable character actions?

Original Discord Post by hassaan_27608 | 2024-09-24 12:43:40

Hi, i was wonder if i could get an API to toggle Enable Action Generation button?

Reply by paxulux | 2024-09-24 12:44:07

:blush:

Reply by k3kalinix | 2024-09-24 12:46:23

Hello <@1276300945340239906> :wave:t2:,

Could you please elaborate on your question?

Reply by hassaan_27608 | 2024-09-24 12:48:08

I’m using WebGL and some js. And i wanted to enable the Action generation button. I wanted to know if i could get an API for it

Images:

Reply by k3kalinix | 2024-09-24 12:48:24

Why do you need that?

Reply by k3kalinix | 2024-09-24 12:48:33

No it is not available.

Reply by hassaan_27608 | 2024-09-24 12:48:50

As i understand, actions are not supported in WebGL

Reply by k3kalinix | 2024-09-24 12:48:58

Yes

Reply by hassaan_27608 | 2024-09-24 12:49:25

So that is why i wanted an API that i could call for enabling the actions

Reply by k3kalinix | 2024-09-24 12:50:27

Please visit our documentation, this page will not affect the engine side. It only affects the playground.

Images:


Embedded Content:
Actions | Documentation
This page illustrates the method for integrating actions into your characters.
Link: Actions | Documentation

Reply by hassaan_27608 | 2024-09-24 13:00:41

I want an api to enable/disable that toggle button

Reply by hassaan_27608 | 2024-09-24 13:01:16

i am enabling users to create their custom actions

Reply by k3kalinix | 2024-09-24 13:02:09

It won’t affect the experience.

Reply by k3kalinix | 2024-09-24 13:02:52

The action system will be added to WebGL in the next update.

Reply by hassaan_27608 | 2024-09-24 13:38:33

I dont need that. i have already added it i WebGL’s support. I just need to add dynamic actions as you allow the change of AI information change and knowledge change. I just want my AI to evolve with players and each VIP player can add custom actions. I am sending the actions but the AI is not performing them. I noticed that the allow AI action button is toggled off. I need to turn that On [Allow action generation].

Reply by k3kalinix | 2024-09-24 13:40:27

As i said it wont affect Game Engine Side.

Reply by k3kalinix | 2024-09-24 13:40:33

And how did you implement?

This conversation happened on the Convai Discord Server, so this post will be closed.