Sign In Register

How can we help you today?

Start a new topic

Running cloud code when message is sent

Hello,

I wish to run cloud code just before a custom message (that was added in Configurator -> Messages -> ScriptMessage Extensions) is sent using SparkMessage.send().


The documentation leads me to believe this is possible using message interceptors (https://docs.gamesparks.com/documentation/key-concepts/cloud-code.html#message-interceptors)

but in my Scripts -> User/Global Messages there is no entry for the custom message.

Is the documentation up-to-date?

Do I need to do something more in order to get a <CustomMessage> entry in there, or am I limited to running code against standard platform messages?

1 Comment

This is a duplicate post caused by error. Please disregard or delete.

Login to post a comment