playMaker

Author Topic: Change Target Object for the action 'Look At'  (Read 79 times)

bongtack

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Change Target Object for the action 'Look At'
« on: May 30, 2018, 02:31:01 PM »
Hi I'm using the action 'Look At' and I want to change the target 'Target Object'

when first character triggers with the action 'Trigger event'.

Would there be a way please ?

Thanks a lot

 :)

Athin

  • Playmaker Newbie
  • *
  • Posts: 24
    • View Profile
Re: Change Target Object for the action 'Look At'
« Reply #1 on: May 30, 2018, 03:05:40 PM »
Set the Target Object to a Variable and set that Variable to whatever you want to look at when you trigger the event.

You can use the Find Game Object if there is only one thing you're looking for or use the trigger event to store whatever triggered it and use the action Set Game Object Var for the target. 

There is a few ways to do it depending on the project.