playMaker

Author Topic: Send Event VS. Send Event By Name  (Read 1419 times)

iEpic

  • Playmaker Newbie
  • *
  • Posts: 48
    • View Profile
    • IndieGamerWorld
Send Event VS. Send Event By Name
« on: October 05, 2016, 04:02:21 PM »
I just read that you should use Send Event By Name over Send Event if you store events as string variables.

The last 10 months I've been using the Send Event, and it shows it's used 384 times.
I store my events as strings, so should I go and switch every Send Event to Send Event By Name?

It will take a long time to do, and I have no clue if it will even make a difference.
Will it affect performance or anything like that?

Please let me know, and Thanks in advance.
Josh

terri

  • Sr. Member
  • ****
  • Posts: 376
    • View Profile
    • terrivellmann.tumblr.com
Re: Send Event VS. Send Event By Name
« Reply #1 on: October 06, 2016, 06:35:24 AM »
I don't think you can use string variables with Send Event, that's why Send Event By Name exists.
Not sure what you mean by switching them all, I think you might be confused about the difference?

iEpic

  • Playmaker Newbie
  • *
  • Posts: 48
    • View Profile
    • IndieGamerWorld
Re: Send Event VS. Send Event By Name
« Reply #2 on: October 06, 2016, 03:14:58 PM »
Oh ok.
I thought all my events were saved as strings for some reason.
I didn't see a difference between Send Event and Send Event By Name at first, but now I do.