playMaker

Author Topic: How do I use PlayMakerGlobals.AddEvent [SOLVED]  (Read 998 times)

naby

  • Playmaker Newbie
  • *
  • Posts: 4
    • Twitter
How do I use PlayMakerGlobals.AddEvent [SOLVED]
« on: October 12, 2019, 12:01:59 PM »
I want to generate a custom event from a script, not from a GUI.
« Last Edit: October 12, 2019, 12:33:22 PM by naby »

naby

  • Playmaker Newbie
  • *
  • Posts: 4
    • Twitter
Re: How do I use PlayMakerGlobals.AddEvent (string eventName);
« Reply #1 on: October 12, 2019, 12:32:19 PM »
self resolved ;)
PlayMakerGlobals.Instance.AddEvent("myEvent");

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How do I use PlayMakerGlobals.AddEvent [SOLVED]
« Reply #2 on: October 12, 2019, 06:04:12 PM »
Hi.
Thanks for sharing the solution.