Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Caffeen on October 10, 2014, 03:00:11 PM

Title: Playmaker & TargetPro question
Post by: Caffeen on October 10, 2014, 03:00:11 PM
Sorry if this is really obvious, but is there any easy way for an FSM on a Game Object with a Fire Controller to get a reference to the Game Object Projectile it just fired, or an FSM on a Game Object with a Projectile component to get a reference to the Game Object of the Fire Controller that just fired it?

Basically I'm looking for an easy way (Or if not easy, reliable) for my Fire Controllers and Projectiles to communicate. Right now the methods I'm using feel really shaky and unreliable, so I'd really appreciate any advice!

Thanks!
Title: Re: Playmaker & TargetPro question
Post by: jeanfabre on November 27, 2014, 02:29:48 AM
Hi,

 Have you been able to make some progress on this?

 Bye,

 Jean
Title: Re: Playmaker & TargetPro question
Post by: nighty9 on November 30, 2014, 10:25:23 PM
Hi,

I don't know if Fire Controller is something specific or something you created but what i do with my spell casting system is quite similar, i instantiate the "bullet" as a child of my "Fire Controller", use the action "Get Parent" to store the Fire Controller game object, then i throw my spell wherever.

Cheers,
Nico
Title: Re: Playmaker & TargetPro question
Post by: jeanfabre on December 02, 2014, 11:10:52 AM
Hi,

 The Fire Controller is from TargetPro.

 Bye,

 Jean