Property | Type | Description | |
---|---|---|---|
BaseProcess | |||
Version | string |
Method | Description | |
---|---|---|
Bootstrap ( |
Initializes jZm onto a certain game process. Make sure the game is the correct process, This function doesn't check if the process is correct. DO NOT CALL FROM A PLUGIN. This function is called from the jZm frontend and you should not call it from a plugin. |
|
Crash ( |
Invokes the OnCrash event, resulting in a fatal error. Mostly used internally.
|
|
GetActors ( ) : ZombieAPI.GameObjects.GEntity[] |
Loops trough all entities, returning only the actors (zombies and other NPC's)
|
|
GetBarriers ( ) : ZombieAPI.GameObjects.GEntity[] |
Returns all Zombie Barriers (the zombie entrances)
|
|
GetBus ( ) : |
Gets the bus on transit. Returns the first ET_VEHICLE it can find. |
|
GetDVar ( string Name ) : |
Returns the corresponding DVar object that has this name
|
|
GetDVarValue ( string Name ) : object |
Returns the corresponding DVar value that has this name
|
|
GetInstance ( ) : |
Get current ZombieAPI instance
|
|
GetPlayers ( ) : ZombieAPI.GameObjects.Player[] |
Get all clients in the server. One of the most important functions in jZm |
|
GetScriptMovers ( ) : ZombieAPI.GameObjects.GEntity[] |
Loops trough all entities, returning only the models (keep in mind that these are not static and can be moved)
|
|
Shutdown ( bool KillEnvironment ) : void |
Unloads resources, Removes hooks and exits the environment.
|
|
Write ( string message ) : void |
Write a message to the jZm console.
|
|
WriteLine ( string message ) : void |
Write a line to the jZm console.
|
|
WriteLine ( string message, bool debug ) : void |
A overload for diagnostic messages. Works the same as WriteLine
|
|
ZombieAPI ( ) : System |
If you're trying to do this from a plugin, you're doing it wrong. Use the Init(ZombieAPI) function to get the ZombieAPI object.
|
Method | Description | |
---|---|---|
FilterByType ( EntityType type ) : ZombieAPI.GameObjects.GEntity[] | ||
PluginEvent ( |
||
TriggerOnChat ( |
||
TriggerOnGameFrame ( ) : void | ||
initPlugins ( ) : void | ||
zFrame ( object x ) : void |
public Bootstrap ( |
||
Game | The game process jZm reads/writes to (must be a valid CODBOII zombies process) | |
return | void |
public Crash ( |
||
z | The exception you want to show details for to the user | |
return | void |
public GetActors ( ) : ZombieAPI.GameObjects.GEntity[] | ||
return | ZombieAPI.GameObjects.GEntity[] |
public GetBarriers ( ) : ZombieAPI.GameObjects.GEntity[] | ||
return | ZombieAPI.GameObjects.GEntity[] |
public GetDVar ( string Name ) : |
||
Name | string | The DVar name |
return |
public GetDVarValue ( string Name ) : object | ||
Name | string | The DVar name |
return | object |
public GetPlayers ( ) : ZombieAPI.GameObjects.Player[] | ||
return | ZombieAPI.GameObjects.Player[] |
public GetScriptMovers ( ) : ZombieAPI.GameObjects.GEntity[] | ||
return | ZombieAPI.GameObjects.GEntity[] |
public Shutdown ( bool KillEnvironment ) : void | ||
KillEnvironment | bool | Run |
return | void |
public Write ( string message ) : void | ||
message | string | The message that will be written to the console |
return | void |
public WriteLine ( string message ) : void | ||
message | string | The message that will be written to the console |
return | void |
public WriteLine ( string message, bool debug ) : void | ||
message | string | The message that will be written to the console |
debug | bool | Doesn't matter what you pass to this parameter, It'll be send to the debug event. |
return | void |
public Process,System.Diagnostics BaseProcess | ||
return |