playMaker

Author Topic: Splitting a INT into single digits  (Read 92 times)

uk_resistant

  • Playmaker Newbie
  • *
  • Posts: 20
Splitting a INT into single digits
« on: November 07, 2025, 05:59:04 AM »
Hi there

I was just wondering if there was a way to take a number consisting of multiple numbers and split and place into an array

i.e 45678

into

4,
5,
6,
7,
8

Alternatively, they could go into a INT variable.


Context - I want to generate a seed to pick a larger number to be split into smaller ones for selecting random parts on a creature and I want this to be consistent with the seed selection