Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on October 23, 2015, 06:51:47 PM

Title: Find Object on Load, help.
Post by: nabilfx on October 23, 2015, 06:51:47 PM
How can i tell playmaker object, when the game scene load, to look to the camera.
How i set a name to the camera, and tell the object to find it?
Title: Re: Find Object on Load, help.
Post by: ManicMinerUK on October 24, 2015, 11:54:13 PM
if you want two object to reference each other across a scene (which is what I think you are asking) then it's fairly simple.

In object A, have a state with a Get Owner, that outputs to a global Game Object Variable with a sensible name

In object B in a different scene, you can reference that object by pointing whatever action you are using at the global Game Object variable.
Title: Re: Find Object on Load, help.
Post by: nabilfx on October 25, 2015, 08:46:44 AM
thank you!