Author Topic: Same FSM on other objects (Template?)  (Read 829 times)


  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Same FSM on other objects (Template?)
« on: May 21, 2014, 06:04:32 PM »

here's my scenario:

I have a RayCast hit that checks names under a specific layer it hits, then a string switch which figures out "which enemy" i hit, and ea has its own to do list.

Now I want to always have the same "FSM" as on my raycast "forward" to the other sides, such as left, right, back,

I've tried using a "template" however the template seems to not be working properly on the other FSM's that are using it, this happens when there are things such as Send Message within an fsm, and other stored Objects / variables within my original FSM.

It gets very, very annoying, to have to copy the FSM and manually paste it on the other objects each time there are changes.. this getss annoying especially while testing to perfect what I need do when this happens,

wonder why I' musing raycasts? well colliders don't work too well with "speedy" objects so this was my other solution... please help how to have the same FSM onto other objects, why is Template limited, what are other ways around this?