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
) »
FsmVars setting GUI Label
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: FsmVars setting GUI Label (Read 1792 times)
wickedw
Playmaker Newbie
Posts: 6
FsmVars setting GUI Label
«
on:
February 03, 2014, 08:46:32 AM »
Hi,
If I use FsmVar(s) in my Custom Action you can see the Generic GUI Labels in attached image in the State Area.
Is there an Attribute I can set to tell Playmaker to show [MyText] Type / Variable in the Labels (or the Default Behaviour is set to Parameter1 Type / Parameter1 Variable etc ...) so the user can see what they are setting?
[ActionCategory(ActionCategory.ScriptControl)]
public class MySendMessage : FsmStateAction
{
...
public FsmVar Parameter1;
public FsmVar Parameter2;
Thanks for your help,
Matt
«
Last Edit: February 03, 2014, 08:52:57 AM by wickedw
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: FsmVars setting GUI Label
«
Reply #1 on:
February 04, 2014, 06:01:26 AM »
Hi,
yes, I would use this
Code:
[Select]
[ActionSection("Parameter 1")]
as an attribute for both variables. Then it will properly separate them
else, you could go for a custom editor and put your labels yourself.
bye,
Jean
Logged
wickedw
Playmaker Newbie
Posts: 6
Re: FsmVars setting GUI Label
«
Reply #2 on:
February 04, 2014, 06:07:45 AM »
Hi,
Works great thanks.
Could you also possibly point me to more info regarding full control via Custom Editor? just for interests sake.
Thanks
Matt
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: FsmVars setting GUI Label
«
Reply #3 on:
February 04, 2014, 06:48:30 AM »
Hi,
yes, study the various custom actions I created using them:
XmlMaker:
https://hutonggames.fogbugz.com/default.asp?W1133
Pathfinding:
https://hutonggames.fogbugz.com/default.asp?W1174
Them two package feature advance use of Custom editors. search the project for "Custom" and you will find all the various custom editor scripts.
If you have more questions, let me know.
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
FsmVars setting GUI Label