playMaker

Author Topic: Global variables[SOLVED]  (Read 934 times)

TVISARL

  • Junior Playmaker
  • **
  • Posts: 50
Global variables[SOLVED]
« on: March 05, 2020, 02:32:25 AM »
Hi, all!
I need to create some global variables that can be shared betwen PlayMaker and regular C# scripts. How can I do that ?
Thanks in advance.
« Last Edit: March 14, 2020, 04:18:34 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Global variables
« Reply #1 on: March 05, 2020, 04:35:02 AM »
Hi.
Here is the API Reference of playmaker
At the bottom are some links to sample on how to communicate between scripts and Playmaker.

But you probably should use variables on a fsm instead of global.

And you can use for example 'Get Fsm Int' or 'Set Fsm Float'

TVISARL

  • Junior Playmaker
  • **
  • Posts: 50
Re: Global variables
« Reply #2 on: March 05, 2020, 05:30:20 AM »
Thanks.