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
) »
have script with global variable array. how to access inside an FSM?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: have script with global variable array. how to access inside an FSM? (Read 1046 times)
troynall
Playmaker Newbie
Posts: 1
have script with global variable array. how to access inside an FSM?
«
on:
April 24, 2022, 05:16:15 PM »
//------ newbie question begins
have script(inside a unity game object named "spawner" ) spawner populates a global
array, itemsThatARESpawning[].
how do I access and transverse the array from a playmaker FSM?
//----- newbie question ends
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: have script with global variable array. how to access inside an FSM?
«
Reply #1 on:
April 29, 2022, 10:06:14 AM »
Hi.
if this is from a 3rd party asset.
if you have a little c# knowledge you can make a custom action
(here's a link to the
PlayMaker API
or
You can ask the author to add playmaker support.
or
You can try using the Get Property Action to get the data.
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
have script with global variable array. how to access inside an FSM?