playMaker

Author Topic: Huge attributes request  (Read 4267 times)

Vertax

  • Playmaker Newbie
  • *
  • Posts: 2
Huge attributes request
« on: February 10, 2015, 04:39:59 AM »
Hello.

We are currently working on the integration of Online Maps with PlayMaker.
We suggest adding a few new attributes.
It will be very useful for developers and users.

1. Ability to specify the name of the action.


This is very useful if:
• The class with the same name already exists, for example GetPosition.
• Name of the action incorrectly comes from the class name, for example:
Class name - Create2DMarker.
Action name - Create 2DMarker.
Correct action name: Create 2D marker.
• The developer just wants to manually specify the name of the action.

2. Ability to specify the label of the variable.


3. ResultField

Almost every action returns the result to the resulting field.
It would be good to add to this field relevant icon.
[ResultField] = [UIHint (UIHint.Variable)] + [UIIcon (UIIcon.Result)]

4. UIIcon

Adds an icon before field label. For example: result, event.

5. RequiredOnceField (string requireGroupID = null)

Very often, for action can be used different fields, such as: field1 or field2 + field3 or field4.

6. Group (string groupLabel) and FoldedGroup (string groupLabel)

Combines fields, adds group label, adds the left indent.
FoldedGroup can be minimized.

7. ConditionField (string otherFieldName, * visibleCondition)

This field shows only if the other field has a specific value.
VisibleCondition - can be bool or int.

8. UIHint.Label

Just text, without decorations.


Thank you.

--
Kind Regards,
Infinity Code Team

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Huge attributes request
« Reply #1 on: February 11, 2015, 11:25:03 AM »
Great suggestions! And thanks for taking the time to mockup them up - it's very helpful.

I'd like to get these into the 1.8.x update cycle...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Huge attributes request
« Reply #2 on: March 31, 2015, 02:00:48 AM »
Hi,

 Yep, very useful list!

Bye,

 Jean

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Huge attributes request
« Reply #3 on: March 31, 2015, 06:32:44 AM »
Great list with really clear explanations. Thanks for making it.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Huge attributes request
« Reply #4 on: April 24, 2015, 01:42:01 AM »
Hi,

 Just to add to this very interesting thread, for developers who struggled a bit like me to get into creating these attributes and deal with propertydrawers, I stumbled upon this great and simple source of custom attributes, with interesting c# skills to learn from ( well, better than mine to be precise... :P)

https://github.com/anchan828/property-drawer-collection

Bye,

 Jean