playMaker

Author Topic: Playmaker and attaching a target object in script  (Read 1410 times)

frostamation

  • Playmaker Newbie
  • *
  • Posts: 6
Playmaker and attaching a target object in script
« 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