playMaker

Author Topic: Add Float from another FSM  (Read 2346 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Add Float from another FSM
« on: July 17, 2014, 10:40:10 AM »
Hi!

Is it possible to add float or int, etc. from another FSM?
It's a Set FSM Float there, but I need to add float from another FSM.
I tried to use Get FSM Float and store it in a variable and then use Add Float, but it doesn't seem to work.

Thanks! :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Add Float from another FSM
« Reply #1 on: July 17, 2014, 10:48:54 AM »
Using Get FSM Float and adding it should work fine. You've probably targetted the wrong FSM name or variable name.

Otherwise:

Add FSM Float
http://hutonggames.com/playmakerforum/index.php?topic=4989

It's also on ecosystem.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Add Float from another FSM
« Reply #2 on: July 17, 2014, 12:06:12 PM »
I think I did it correct, but AddFSMFloat works great. Thank you for that. :-)
But does it exist an Add FSM Int or Add FSM Bool also? :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Add Float from another FSM
« Reply #3 on: July 17, 2014, 12:09:30 PM »
I think I did it correct, but AddFSMFloat works great. Thank you for that. :-)
But does it exist an Add FSM Int or Add FSM Bool also? :)

No, but I'll look into making them.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Add Float from another FSM
« Reply #4 on: July 17, 2014, 12:17:35 PM »
Ok!
Thank you so much! :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no