Editing Mod API Reference:ServerGame

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 25: Line 25:
 
** Note that if you reduce a player's gold value after they've committed orders, it may mess up their turn as they won't be able to spend as much gold as they were expecting, leading to failed deployments and failed attacks.  Take care to only do this if the player approves it.
 
** Note that if you reduce a player's gold value after they've committed orders, it may mess up their turn as they won't be able to spend as much gold as they were expecting, leading to failed deployments and failed attacks.  Take care to only do this if the player approves it.
 
** Note that this function should never be called from an AdvanceTurn hook.  Doing so will produce an error message.  If you wish to change a player's resource from an AdvanceTurn hook, instead insert a [[Mod API Reference:GameOrderEvent|GameOrderEvent]] to change it.
 
** Note that this function should never be called from an AdvanceTurn hook.  Doing so will produce an error message.  If you wish to change a player's resource from an AdvanceTurn hook, instead insert a [[Mod API Reference:GameOrderEvent|GameOrderEvent]] to change it.
** Note that this function should never be called while a game is in territory distribution.  Player's don't officially have gold until after territories are distributed, so wait until then to start modifying gold.
 
 
[[Category:Mod API Reference]]
 
[[Category:Mod API Reference]]

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox