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
»
State changing during runtime
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: State changing during runtime (Read 872 times)
gamafive
Playmaker Newbie
Posts: 4
State changing during runtime
«
on:
May 21, 2020, 12:19:12 PM »
Hello everyone!
I have a problem with one of my FSM :
I take an item of array and I try to put him in a other array (I've done this many times with no problems) : Images 1 & 2.
In runtime, the value is correctly taken on the first array (Image 3) but the next state show me the value equal "None" (Image 4).
What did I do wrong ?
Thanks for your replies !
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: State changing during runtime
«
Reply #1 on:
May 21, 2020, 02:52:51 PM »
Hi.
Double Check if Targets is the correct array type.
also sometimes if you changed the type after creating it might give an issue.
best is to remove the array action and create a new one.
Logged
Join the PlayMaker Discord Channel!
gamafive
Playmaker Newbie
Posts: 4
Re: State changing during runtime
«
Reply #2 on:
May 21, 2020, 03:50:28 PM »
Hi, Thanks for your reply!
Unfortunatly, he problem persists.
Should I delete the array, recreate it and reassign the arrayactions?
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: State changing during runtime
«
Reply #3 on:
May 22, 2020, 04:33:59 AM »
Hi, also remove the 'array add' and place again
loosing the variable (set to none) indicates a variable Type issue.
also you can try on a new scene with only the array setup, if you have the same issue.
Logged
Join the PlayMaker Discord Channel!
gamafive
Playmaker Newbie
Posts: 4
Re: State changing during runtime
«
Reply #4 on:
May 26, 2020, 06:30:25 AM »
Thanks for yours answers!
It's a copy/paste problem beetween two differents FSM. Clear and recreate Arrays works!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
State changing during runtime