Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nallez on December 07, 2016, 02:06:49 PM

Title: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 07, 2016, 02:06:49 PM
Picture says more than thousand words:

I loop the strings of names of the objects I want to target and I cannot find the object reference:

(http://puu.sh/sHvss/71db5b3797.png)

I just put the same name of the object I want to target and I find the reference:

(http://puu.sh/sHvB8/e256a69410.png)

Is this a known issue? Is there any way around this?
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 08, 2016, 01:15:50 AM
@JeanFabre

I am desperate here man... :)
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 08, 2016, 01:20:23 AM
Is there any other way to apply two diff. arrays from script to a bunch of UI elements?

I'm trying to accomplish a result-table for race finish with FSMArray globals:

PlayerNames[]
PlayerTimes[]

to show in the UI like:

1st PlayerName[0] - PlayerTime[0]
2nd PlayerName[1] - PlayerTime [1]
...
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 08, 2016, 03:12:43 AM
Is the actual problem with the way I'm trying to think over this Playmaker thing?

I initially thought that the Actions I put in a state would be performed in logical order from top to bottom, but this doesn't seem to be the case?

Is there some option for selecting "Perform actions in sequencer-style" or something like that?
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 08, 2016, 05:30:58 AM
Issue fixed!
Thanks nallez for being a supernewbie! :)
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: djaydino on December 08, 2016, 09:46:04 AM
Hi,
Right click inside a state will give you the option to enable/disable an action sequence

disabled it still goes from top to bottom but in some case it does things simultaneously which you don't want.
Title: Re: Issue targetting "Find Game Object" with variable string
Post by: nallez on December 09, 2016, 05:06:00 AM
Hi,
Right click inside a state will give you the option to enable/disable an action sequence

disabled it still goes from top to bottom but in some case it does things simultaneously which you don't want.

Thanks. Yeah I found that option.

Plus I did the whole thing with 3 different states to make it more readable/Debuggable.