playMaker

Author Topic: Get Next Child Random - Pick a sub-set from a number of spawn points  (Read 3520 times)

MaDDoX

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 165
    • FluidPlay Studios
I found this action to be quite useful, so I'm sharing it with you guys. I've originally developed it for my Ludum Dare #24 entry, I guess I've mentioned it here in the forums, but it was quite buggy so I've decided to postpone its release until it was solid. It took me surprisingly long to found out what was the problem, but the fact that it doesn't use a proper "counter" (for simplicity's sake) made me have to work out some unusual logic to run it the right amount of times. After some tests it seems quite solid, please inform me if you find any problems.

The follow screenshot shows an usage example, hopefully it's self-explanatory enough. Tell me if it isn't :)

PS.: Part of the code is based off of 'Get Next Child'.
« Last Edit: June 02, 2012, 02:08:37 PM by MaDDoX »
--
Breno "MaDDoX" Azevedo
@brenoazevedo