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 News
»
General Discussion
(Moderator:
600
) »
[SOLVED]Variables local to FSM but global to FSM states
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [SOLVED]Variables local to FSM but global to FSM states (Read 4089 times)
ramones
Playmaker Newbie
Posts: 42
[SOLVED]Variables local to FSM but global to FSM states
«
on:
April 01, 2013, 06:58:04 AM »
Hi,
I have been reading some threads about local FSM global variables. I mean variables that can be accessed by all states in a FSM but not from outside. It seems there was going to be added but I can't find them.
Could anybody help here?
Thanks in advance.
«
Last Edit: April 03, 2013, 02:02:15 AM by jeanfabre
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: Variables local to FSM but global to FSM states are they implemented in 1.5.5?
«
Reply #1 on:
April 01, 2013, 07:20:10 AM »
Hi,
There is now a global variable window ( from the playmaker menun under tools)
this is where you create global variables, then from within any actions, you can see them ( if of the right type of course)
bye,
Jean
Logged
ramones
Playmaker Newbie
Posts: 42
Re: Variables local to FSM but global to FSM states are they implemented in 1.5.5?
«
Reply #2 on:
April 01, 2013, 07:48:36 AM »
Hi!,
Yes, I'm aware of this global variables window. But this global variables are global to all playmaker FSM. I want variables global to just one FSM. Sorry if I can't explain it clearer.
Note: Sorry, it seems I posted to the wrong subforum :/
Cheers.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: Variables local to FSM but global to FSM states are they implemented in 1.5.5?
«
Reply #3 on:
April 02, 2013, 02:50:54 AM »
Hi,
Within a fsm, the variable you declare are totally accessible for all actions defined in that fsm. I am not sure I am following.
bye,
Jean
Logged
ramones
Playmaker Newbie
Posts: 42
Re: Variables local to FSM but global to FSM states are they implemented in 1.5.5?
«
Reply #4 on:
April 02, 2013, 02:42:14 PM »
Hi!,
Sorry for the delay. You are totally right jeanfabre. I had 12 hours of intense programming (C# + playmaker), I can't even remember why I posted this dumb question :/. Sorry for wasting your time.
Thanks in advance.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker News
»
General Discussion
(Moderator:
600
) »
[SOLVED]Variables local to FSM but global to FSM states