# Catalog Reference Modify (Based On Default Value)

Grammar — Modifies value of reference for player player using operation and value, based on its default value
FlagsAction

Modifies the value of a field for an entry. To find the name of a field path, open the data editor and turn on View Raw Data. For example, if you wanted to set the unit for the first index of a train ability, your field path string would be “InfoArray[0].Unit”.

# Arguments

  • string [ reference ] — Reference
  • int — Player
  • fixed — Value
  • int [ preset::UpgradeOperation ] — Operation

Returns — bool

bool libNtve_gf_CatalogReferenceModifyBasedOnDefaultValue(
	string lp_reference,
	int lp_player,
	fixed lp_value,
	int lp_operation,
);

Category: Catalog / Support

# Examples

— None found —