playMaker

Author Topic: "Remote Line" Needed[SOLVED]  (Read 2905 times)

human890209

  • Junior Playmaker
  • **
  • Posts: 62
"Remote Line" Needed[SOLVED]
« on: February 15, 2017, 04:15:09 AM »
When designing a big graph especially with iterations, there are too many lines. I used GoToStateByName Action to build 2StateEnd "remote lines". But the Action consumes Performance so I delete them and use normal lines to connect which make the graph messy.
But I truly need some similar States to do the "Remote Line" which can make the Graph easy to use.  :D
« Last Edit: March 09, 2017, 12:35:34 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "Remote Line" Needed
« Reply #1 on: March 01, 2017, 12:48:31 AM »
Hi,

-- What makes you conclude that it consumes perfs?

-- use send event using local event, you can navigate within an Fsm this way, have a global transition on top of states you want to go to each with its own local event.

Bye,

 Jean

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: "Remote Line" Needed
« Reply #2 on: March 04, 2017, 12:35:54 AM »
Hi,
Will the GoToEventByName causes GC (cause Name is string :P) or Finding Expense (Something expensive like finding Game object by name ???)
Is this kind of connection done by Editor UI much faster and safer? :)
« Last Edit: March 04, 2017, 12:37:41 AM by human890209 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "Remote Line" Needed
« Reply #3 on: March 06, 2017, 01:41:44 AM »
Hi,

 I am not sure what is your approach of this, what is the problem on your end? What makes you think there are performances issues here?

- no gc for using a string in an action no.
- connection is done viy the editor UI and then hooked up programmatically at runtime.

 Bye,

 Jean

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: "Remote Line" Needed
« Reply #4 on: March 08, 2017, 09:59:09 PM »
Hi,
Thanks! So I can use GoToNamedState Action to do that. :D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "Remote Line" Needed
« Reply #5 on: March 09, 2017, 12:35:22 AM »
Hi,

 Yes.

 Bye,

 Jean