Difference between revisions of "Config Functions"

From theFarWilds
Jump to: navigation, search
(New page: Scripting Config Game Functions. You can only call these from inside configGame(). See Script Functions void addAIPlayer(string PlayerName,string Avatar,int teamID); // all par...)
 
Line 2: Line 2:
 
Config Game Functions. You can only call these from inside configGame(). See [[Script Functions]]
 
Config Game Functions. You can only call these from inside configGame(). See [[Script Functions]]
  
  void addAIPlayer(string PlayerName,string Avatar,int teamID);  
+
  void '''addAIPlayer'''(string PlayerName,string Avatar,int teamID);  
 
  // all parameters are ignored for now
 
  // all parameters are ignored for now
  void setMapSize(int x,int y)
+
  void '''setMapSize'''(int x,int y)
 
  // 3 to 17
 
  // 3 to 17
  void setNumPlayers(int)
+
  void '''setNumPlayers'''(int)
 
  // from 1 to 4
 
  // from 1 to 4
  void setGloryGoal(int)
+
  void '''setGloryGoal'''(int)
  void setMapSeed(int seed)
+
  void '''setMapSeed'''(int seed)
 
  // you can set this if you always want the script to be on the same map
 
  // you can set this if you always want the script to be on the same map
  void setNumFluxWells(int)
+
  void '''setNumFluxWells'''(int numberOfWells)
 +
void '''dontNeedDecks'''();
 +
// wont ask the player to set a deck when they join

Revision as of 12:49, 23 March 2010

Scripting Config Game Functions. You can only call these from inside configGame(). See Script Functions

void addAIPlayer(string PlayerName,string Avatar,int teamID); 
// all parameters are ignored for now
void setMapSize(int x,int y)
// 3 to 17
void setNumPlayers(int)
// from 1 to 4
void setGloryGoal(int)
void setMapSeed(int seed)
// you can set this if you always want the script to be on the same map
void setNumFluxWells(int numberOfWells)
void dontNeedDecks(); 
// wont ask the player to set a deck when they join