Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: human890209 on February 15, 2017, 04:15:09 AM

Title: "Remote Line" Needed[SOLVED]
Post by: human890209 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
Title: Re: "Remote Line" Needed
Post by: jeanfabre 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
Title: Re: "Remote Line" Needed
Post by: human890209 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? :)
Title: Re: "Remote Line" Needed
Post by: jeanfabre 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
Title: Re: "Remote Line" Needed
Post by: human890209 on March 08, 2017, 09:59:09 PM
Hi,
Thanks! So I can use GoToNamedState Action to do that. :D
Title: Re: "Remote Line" Needed
Post by: jeanfabre on March 09, 2017, 12:35:22 AM
Hi,

 Yes.

 Bye,

 Jean