playMaker

Author Topic: Recharging Player Powers (count check?) [SOLVED]  (Read 2135 times)

fromfame

  • Junior Playmaker
  • **
  • Posts: 78
  • Sloppy PM Veteran
Recharging Player Powers (count check?) [SOLVED]
« on: July 15, 2013, 09:45:35 AM »
Hey i've got a "power" the player has that should wear off after 5 times of usage, and i can't figure out what action to use to have it check if "5" true then -> wear out state.

Heres a photo of what i currently have
« Last Edit: July 16, 2013, 02:21:43 PM by fromfame »

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Recharging Player Powers (count check?)
« Reply #1 on: July 15, 2013, 07:09:20 PM »
In playmaker the IF statements are used as compares so I would go with this action - Float Compare. Float 1 being the variable you have of the current count and float 2 being 5. If Float 1 is greater than or Equal to 5 you set those transitions as Wear Out.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

fromfame

  • Junior Playmaker
  • **
  • Posts: 78
  • Sloppy PM Veteran
Re: Recharging Player Powers (count check?)
« Reply #2 on: July 16, 2013, 02:21:14 PM »
Thanks it helped! i also found this useful.