CommandPoint python
From WiCWiki
|
CommandPoint
A commandpoint on the map.
Members
Owner
- Type
- int
- Description
- The current owner of the CommandPoint.
Name
- Type
- int
- Description
- The hashed name of the CommandPoint.
Definition
- Type
- string
- Description
- The name of the CommandPoint.
Position
- Type
- Vector3
- Description
- The world position of the CommandPoint.
Methods
GetName
- Syntax
import wic wic.game.CommandPoint.GetName()
- Description
- Retrieves the #Name of the CommandPoint.
- Exceptions
- -
- See also
- #Name
GetPosition
- Syntax
import wic wic.game.CommandPoint.GetPosition()
- Description
- Retrieves the #Position of the CommandPoint.
- Exceptions
- -
- See also
- #Position
GetCaptureOrderNumber
- Syntax
import wic wic.game.CommandPoint.GetCaptureOrderNumber()
- Description
- -
- Exceptions
- -
- See also
- -
GetToWCaptureOrderNumber
- Syntax
import wic wic.game.CommandPoint.GetToWCaptureOrderNumber()
- Description
- -
- Exceptions
- -
- See also
- -
GetDeploymentZoneImageName
- Syntax
import wic wic.game.CommandPoint.GetDeploymentZoneImageName()
- Description
- -
- Exceptions
- -
- See also
- -
GetNumberOfPerimeterPoints
- Syntax
import wic wic.game.CommandPoint.GetNumberOfPerimeterPoints()
- Description
- Gives the number of PerimeterPoints connected to the CommandPoint.
- Exceptions
- -
- See also
- -
GetPerimeterPointByIndex
- Syntax
import wic wic.game.CommandPoint.GetPerimeterPointByIndex( anIndex )
- Description
- Gives the PerimeterPoint with index anIndex.
- Exceptions
- TypeError
- anIndex wasn't an int.
- ValueError ( Should be IndexError )
- anIdex was out of bounds.
- See also
- #GetPerimeterPoint
GetPerimeterPoint
- Syntax
import wic wic.game.CommandPoint.GetPerimeterPoint( aName )
- Description
- Gives the PerimeterPoint with the hashed name aName .
- Exceptions
- TypeError
- aName wasn't an int.
- See also
- #GetPerimeterPointByIndex
Files
- /wic/ex_game/wicg_mpyccommandpoint.h
- /wic/ex_game/wicg_mpyccommandpoint.cpp