playMaker

Author Topic: TPC / Playmaker Custom Action  (Read 2028 times)

Frinckles

  • Playmaker Newbie
  • *
  • Posts: 5
TPC / Playmaker Custom Action
« on: May 10, 2016, 04:04:43 PM »
     I need a bit of help combining Third Person Controller and Playmaker functionality. The creator of TPC, Opsive, supplied a few awesome custom actions that hook into the API but I can't find any that relate specifically to what I need to do in dealing with interfaces etc.. I'm not sure how to tell the script to hook into different API/class or what the rules are for that sort of thing.
   Currently I'm trying to create a Playmaker Custom Action that will send an event when the gameobject the FSM is attached to is 'interacted' with. I was hoping somebody show me the proper way of writing this sort of script and hooking into the proper API/class so that I could replicate it in the future.
    IInteractableTarget appears to be the interface that opsive set up for doing just this. The dream is to simply be able to use my character's Interact ability on objects in order to have them fire the next event.

     It's worth mentioning, there is also an IInteractable interface with a few other options for specifying the target gameobject etc, and I'm not sure if both custom actions would be required. Anyhow -- I linked the API at the bottom and documentation for the interact ability. I appreciate any help you guys can provide.

            Thanks.
                          -F

    http://opsive.com/assets/ThirdPersonController/API/interface_opsive_1_1_third_person_controller_1_1_i_interactable_target.html

http://opsive.com/assets/ThirdPersonController/API/interface_opsive_1_1_third_person_controller_1_1_i_interactable.html
 
http://opsive.com/assets/ThirdPersonController/documentation.php?id=71
« Last Edit: May 10, 2016, 04:15:18 PM by Frinckles »