com.GameInterface.CommandBase

com.GameInterface.CommandBase
Summary
com.GameInterface.CommandBase
Functions
GetCommandProgressReturns the progress of the current executing command.

Functions

GetCommandProgress

public static function GetCommandProgress() : Number

Returns the progress of the current executing command.  There seems to be no way to get the exact time as it varies depending on the network lag.

Parameters

param [out] Value between 0 and 1.  As in percent for the time it takes.  If no command is running, 0 is returned.
Note: Only commands that are defined to show in progress bar will be dispatched to actionscripts.
public static function GetCommandProgress() : Number
Returns the progress of the current executing command.
Close