playMaker

Author Topic: How to add multiple Integers and store value?[SOLVED]  (Read 2482 times)

jess84

  • Hero Member
  • *****
  • Posts: 515
How to add multiple Integers and store value?[SOLVED]
« on: March 03, 2014, 01:47:01 PM »
I have a series of integers that I'm using to store highscores for my levels. I want to add them all together to then work out an overall percentage.... what's the easiest way of doing this?

Int Add only allows 2 values.

Is there not an equivalent to Float Add Multiple? (as this would be ideal)
« Last Edit: March 04, 2014, 03:09:21 AM by jeanfabre »

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: How to add multiple Integers and store value?
« Reply #1 on: March 03, 2014, 01:52:01 PM »
Oops, seems to have been done as a custom action here: http://hutonggames.com/playmakerforum/index.php?topic=5969.0

(It would be nice if more of these custom actions found their way into the official releases btw)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: How to add multiple Integers and store value?
« Reply #2 on: March 04, 2014, 03:08:59 AM »
Hi,

 working currently on an online browser for custom actions that install custom action with just one click, without you leaving Unity, it will be very effective!

bye,

 Jean