Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: frostamation on July 03, 2014, 05:49:57 PM

Title: Playmaker and attaching a target object in script
Post by: frostamation on July 03, 2014, 05:49:57 PM
I have been trying to google and find a way to access a script on my camera and attach a target.

Basically camera gets spawned, on the cam is a script which contains a field called "Target", this target requires you to put an object in it so that the camera will follow that object.

Now i have used playmaker to setup the spawn for both the player character and cam, both work fine but the cam of course doesnt have a target to look at, and i cant figure out how to access that component of the script and assign it to look at the player.

I have attached a screen shot of the camera and script in case it helps