playMaker

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

naby

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

naby

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

djaydino

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