Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on October 20, 2018, 05:11:14 PM
-
Hi !
I like to add score system to my game with multiple conditions.
I already created score system for every kill and dash.
How Can I add More score condition for travel distance and time? I wanna add X points per unit moved and time spent
Thanks
-
Hi.
For distance maybe have a get time info a state while moving, when you stop moving get that time and add to 'total moving time' then use that for the distance score
For time spend you can also use the get time info :)
-
Hi.
For distance maybe have a get time info a state while moving, when you stop moving get that time and add to 'total moving time' then use that for the distance score
For time spend you can also use the get time info :)
Thank you.
Will time save in this format ? eg: 12.34 seconds.
Then I have to convert the time to int to get in full format?
-
Hi.
Will time save in this format ? eg: 12.34 seconds.
It gives the value in seconds in a float :)
Then I have to convert the time to int to get in full format?
That depends on how you wish to do this.
You can also use a float and convert to string and set the format so that it is not showing the data behind the dot.