Class Message
A base class for manually building a Message.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public class Message
Constructors
| Improve this Doc View SourceMessage(String)
Declaration
public Message(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The name of the natural motion message. |
Methods
| Improve this Doc View SourceAbort(Ped)
Stops this Natural Motion behavior on the given Ped.
Declaration
public void Abort(Ped target)
Parameters
Type | Name | Description |
---|---|---|
Ped | target |
CreateBoolIntFloatArgDictIfNotCreated()
Declaration
public void CreateBoolIntFloatArgDictIfNotCreated()
CreateStringVector3ArrayArgDictIfNotCreated()
Declaration
public void CreateStringVector3ArrayArgDictIfNotCreated()
ResetArguments()
Resets all arguments to their default values.
Declaration
public void ResetArguments()
SendTo(Ped)
Starts this Natural Motion behavior on the Ped that will loop until manually aborted.
Declaration
public void SendTo(Ped target)
Parameters
Type | Name | Description |
---|---|---|
Ped | target |
SendTo(Ped, Int32)
Starts this Natural Motion behavior on the Ped for a specified duration.
Declaration
public void SendTo(Ped target, int duration)
Parameters
Type | Name | Description |
---|---|---|
Ped | target | |
Int32 | duration | How long to apply the behavior for (-1 for looped). |
SetArgument(String, Vector3)
Declaration
public void SetArgument(string argName, Vector3 value)
Parameters
Type | Name | Description |
---|---|---|
String | argName | The argument name. |
Vector3 | value | The value to set the argument to. |
SetArgument(String, Boolean)
Declaration
public void SetArgument(string argName, bool value)
Parameters
Type | Name | Description |
---|---|---|
String | argName | The argument name. |
Boolean | value | The value to set the argument to. |
SetArgument(String, Int32)
Declaration
public void SetArgument(string argName, int value)
Parameters
Type | Name | Description |
---|---|---|
String | argName | The argument name. |
Int32 | value | The value to set the argument to. |
SetArgument(String, Single)
Declaration
public void SetArgument(string argName, float value)
Parameters
Type | Name | Description |
---|---|---|
String | argName | The argument name. |
Single | value | The value to set the argument to. |
SetArgument(String, String)
Declaration
public void SetArgument(string argName, string value)
Parameters
Type | Name | Description |
---|---|---|
String | argName | The argument name. |
String | value | The value to set the argument to. |
ToString()
Returns the internal message name.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |