Skip to content

Preset ability

Featured Replies

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy

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.