playMaker

Author Topic: Issue targetting "Find Game Object" with variable string  (Read 2411 times)

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Issue targetting "Find Game Object" with variable string
« 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:



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



Is this a known issue? Is there any way around this?

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Issue targetting "Find Game Object" with variable string
« Reply #1 on: December 08, 2016, 01:15:50 AM »
@JeanFabre

I am desperate here man... :)

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Issue targetting "Find Game Object" with variable string
« Reply #2 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]
...

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Issue targetting "Find Game Object" with variable string
« Reply #3 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?

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Issue targetting "Find Game Object" with variable string
« Reply #4 on: December 08, 2016, 05:30:58 AM »
Issue fixed!
Thanks nallez for being a supernewbie! :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Issue targetting "Find Game Object" with variable string
« Reply #5 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.

nallez

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Issue targetting "Find Game Object" with variable string
« Reply #6 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.