playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Recharging Player Powers (count check?) [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Recharging Player Powers (count check?) [SOLVED] (Read 2142 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
»
Logged
sebaslive
Hero Member
Posts: 572
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.
Logged
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.
//www.youtube.com/watch?v=bHxgjTu5crk
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Recharging Player Powers (count check?) [SOLVED]