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
) »
Array Length not reporting the items? [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Array Length not reporting the items? [SOLVED] (Read 646 times)
PolyMad
Hero Member
Posts: 545
Array Length not reporting the items? [SOLVED]
«
on:
September 04, 2021, 10:00:33 AM »
As you can see, I'm having an incoherent result in the array length: there are 3 items, but 0 length is reported.
«
Last Edit: September 04, 2021, 03:15:16 PM by PolyMad
»
Logged
PolyMad
Hero Member
Posts: 545
Re: Array Length not reporting the items?
«
Reply #1 on:
September 04, 2021, 10:07:03 AM »
Wait... the BREAKPOINT happens BEFORE executing any actions in the state?
That's why I didn't see it changing...
Wouldn't it be better if it happened at the end of the state?
But I guess then there would be problems because the actions could send out transitions etc.
Logged
djaydino
Administrator
Hero Member
Posts: 7619
Re: Array Length not reporting the items? [SOLVED]
«
Reply #2 on:
September 05, 2021, 08:42:21 PM »
Hi.
you can also use Debug Log action and set it to error and set it as last in the state
then it should have started previous actions before pausing.
but indeed breakpoint after triggering actions woud indeed have issues
Logged
Join the PlayMaker Discord Channel!
ch1ky3n
Full Member
Posts: 208
Re: Array Length not reporting the items? [SOLVED]
«
Reply #3 on:
September 05, 2021, 10:06:51 PM »
Always new stuff from Djaydino!
Logged
djaydino
Administrator
Hero Member
Posts: 7619
Re: Array Length not reporting the items? [SOLVED]
«
Reply #4 on:
September 06, 2021, 08:08:10 AM »
Hi.
yeah
Actually Debug actions been there for a long time
They are very useful to debug in build (log file)
and give info in editor console
Logged
Join the PlayMaker Discord Channel!
PolyMad
Hero Member
Posts: 545
Re: Array Length not reporting the items? [SOLVED]
«
Reply #5 on:
September 06, 2021, 10:50:31 AM »
Cool thank you!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Array Length not reporting the items? [SOLVED]