Action PlayerModifyPropertyInt

Action Identifier: PlayerModifyPropertyInt Action Name: Modify Player Property

Parameters
Player - int - The player for whom you would like to modify a property. Property - preset - The property to modify. This can be resources, etc. Operation - preset - Whether to add to, subtract from or directly set a new value of a property. Value - int - The amount you would like to use for modifying the property.

Description
Modify the specified property of the specified player. You can use the operation parameter to add to (or subtract from) the current value of the property. For example, you can use this action to award (or give) an additional amount of resource when the player completes a task without having to check the current value yourself.