playMaker

Author Topic: Custom Action: how do I Get FSMArray to Int?  (Read 945 times)

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Custom Action: how do I Get FSMArray to Int?
« on: September 13, 2022, 03:50:36 PM »
I need to read an Int from an FSMArray, and use it as an Int (not FSMArray objects).

Basically the reverse of:

Code: [Select]
myFSMArray.Set(index, value);
 :-[

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Re: Custom Action: how do I Get FSMArray to Int?
« Reply #1 on: September 14, 2022, 08:17:13 AM »
the answer:

Code: [Select]
(int)myFSMArray.Get(i);