playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Custom Action: how do I Get FSMArray to Int?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Custom Action: how do I Get FSMArray to Int? (Read 945 times)
wetcircuit
Full Member
Posts: 158
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);
Logged
wetcircuit
Full Member
Posts: 158
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);
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Custom Action: how do I Get FSMArray to Int?