er2.consumeFactionSpending 5

Available from Easy Red 2 2.1.1

Returns everything the players of this client have spent on births since the last call, and clears the tally. Subtract it from your own synced counter so the spending makes it back to the shared total.


Return value

Return TypeDescription
NumberPoints spent since the previous call. 0 if nobody was born.

Parameters

ParameterTypeDescription
1stringThe faction to collect the spending of.

Examples

No examples available.


Back to Scripting API