Skip to content

Preset ability

Hello all,

First time posting here. I did some digging in this FORUM, but could not find an answer to my doubt.

I have been using FMRTE for a long time and have a few presets created, but I have always wondered if there is a way to have the preset 'add' instead of 'replace'. I mean instead of setting an attribute to 20 or 1, I would like to add 5 or remove 10 to the player/staff existing value.

I have attempted to tweak the JSON file from the preset updating "ValueSetType": "Replace" to "ValueSetType": "Add", but the app won't recognize it.

For example, I updated:

{

"Type": "PropertyPresetAction",

"TargetProperty": "TechnicalAttributes.Heading",

"Value": "20",

"ValueSetType": "Replace",

"TargetType": "Player",

"TargetIds": [],

"ExtraParameter": null,

"MaximumValue": "null",

"MinimumValue": null

}

To:

{

"Type": "PropertyPresetAction",

"TargetProperty": "TechnicalAttributes.Heading",

"Value": "5",

"ValueSetType": "Add",

"TargetType": "Player",

"TargetIds": [],

"ExtraParameter": null,

"MaximumValue": "20",

"MinimumValue": null

}

But it did not result in adding 5 to the players heading, if actually didn't do anything.

From other existing functionalities in FMRTE, I know it is possible to add. You can add years to a player contract, add +1 to all attributes, but I want to be specific on which attributes I update.

Is anyone aware if it is possible do what I am looking to do?

Thank you

Featured Replies

  • 7 months later...
  • sdke locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.