GameStartNewScript Method (String, Int32)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Starts a new instance of the game script with the specified name and stack size.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static uint StartNewScript(
	string name,
	int stackSize
)

Parameters

name
Type: SystemString
The name.
stackSize
Type: SystemInt32
The size of the stack.

Return Value

Type: UInt32
An unsigned int representing a handle to the started script.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the specified name does not represent a valid script.
Remarks

If the specified script has not already been loaded, this method is not guaranteed to return on the same tick.
See Also

Reference