playMaker

Author Topic: FSM Communication actions V2  (Read 735 times)

nightcorelv

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
FSM Communication actions V2
« on: April 02, 2018, 09:34:09 AM »
Hi
I'm made more FSM actions, because I don't like to put all the state in an FSM. It's will get confused and lose controls´╝î I prefer to put all variables in an FSM, and let other small FSMs to control this FSMs variable.

Action list:
fsm float flip
fsm float operator
fsm float switch
fsm gameobject compare
fsm gameobject compare tag
fsm gameobject is null
fsm int flip
fsm int operator
fsm int switch
fsm string switch
fsm string is null or empty

Array :
fsm array add
fsm array addrange
fsm array clear
fsm array delete at
fsm array get next
fsm array get random index
fsm array length
fsm array remove
fsm array remove all
fsm array resize
fsm array reverse
fsm array shuffle
fsm array sort (not tested)
fsm array swap items
fsm array transfer value

hope you guys enjoy it.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13323
  • Official Playmaker Support
    • View Profile
Re: FSM Communication actions V2
« Reply #1 on: April 03, 2018, 03:40:17 AM »
Hi,

 that's great!! but you should put them on the Ecosystem!

 Bye,

 Jean

nightcorelv

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
Re: FSM Communication actions V2
« Reply #2 on: April 03, 2018, 07:08:21 AM »
sure, Ecosystem helps me easier get on my other computers

Hi,

 that's great!! but you should put them on the Ecosystem!

 Bye,

 Jean

rainexplorer

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
Re: FSM Communication actions V2
« Reply #3 on: April 19, 2018, 07:08:59 PM »
Hi,

any example How to use this ?

because i'm not so good at coding...

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 3389
    • View Profile
    • jinxtergames
Re: FSM Communication actions V2
« Reply #4 on: April 19, 2018, 10:39:34 PM »
Hi.
@rainexplorer.

The actions works similar as the normal actions (without fsm in front)
for example 'Fsm String Switch' works the same as 'String Switch'
Except that you can target/use variables on a different fsm without setting them global.

tcmeric

  • Hero Member
  • *****
  • Posts: 651
    • View Profile
Re: FSM Communication actions V2
« Reply #5 on: April 22, 2018, 11:04:00 AM »
Nice, very helpful. Thank you!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 3389
    • View Profile
    • jinxtergames
Re: FSM Communication actions V2
« Reply #6 on: May 18, 2018, 02:06:25 AM »
Hi.
I have updated the actions and added them to the ecosystem.