A base class for manually building a GTA.NaturalMotion.Message.
More...
A base class for manually building a GTA.NaturalMotion.Message.
◆ Message()
GTA.NaturalMotion.Message.Message |
( |
string |
message | ) |
|
Creates a class to manually build Messages that can be sent to any Ped.
- Parameters
-
message | The name of the natural motion message. |
◆ Abort()
void GTA.NaturalMotion.Message.Abort |
( |
Ped |
target | ) |
|
Stops this Natural Motion behavior on the given Ped.
- Parameters
-
◆ ResetArguments()
void GTA.NaturalMotion.Message.ResetArguments |
( |
| ) |
|
Resets all arguments to their default values.
◆ SendTo() [1/2]
void GTA.NaturalMotion.Message.SendTo |
( |
Ped |
target | ) |
|
Starts this Natural Motion behavior on the Ped that will loop until manually aborted.
- Parameters
-
◆ SendTo() [2/2]
void GTA.NaturalMotion.Message.SendTo |
( |
Ped |
target, |
|
|
int |
duration |
|
) |
| |
Starts this Natural Motion behavior on the Ped for a specified duration.
- Parameters
-
target | The Ped to send the Message to. |
duration | How long to apply the behavior for (-1 for looped). |
◆ SetArgument() [1/5]
void GTA.NaturalMotion.Message.SetArgument |
( |
string |
argName, |
|
|
bool |
value |
|
) |
| |
Sets a Message argument to a bool value.
- Parameters
-
argName | The argument name. |
value | The value to set the argument to. |
◆ SetArgument() [2/5]
void GTA.NaturalMotion.Message.SetArgument |
( |
string |
argName, |
|
|
float |
value |
|
) |
| |
Sets a Message argument to a float value.
- Parameters
-
argName | The argument name. |
value | The value to set the argument to. |
◆ SetArgument() [3/5]
void GTA.NaturalMotion.Message.SetArgument |
( |
string |
argName, |
|
|
int |
value |
|
) |
| |
Sets a Message argument to a int value.
- Parameters
-
argName | The argument name. |
value | The value to set the argument to. |
◆ SetArgument() [4/5]
void GTA.NaturalMotion.Message.SetArgument |
( |
string |
argName, |
|
|
string |
value |
|
) |
| |
Sets a Message argument to a string value.
- Parameters
-
argName | The argument name. |
value | The value to set the argument to. |
◆ SetArgument() [5/5]
void GTA.NaturalMotion.Message.SetArgument |
( |
string |
argName, |
|
|
Vector3 |
value |
|
) |
| |
Sets a Message argument to a Vector3 value.
- Parameters
-
argName | The argument name. |
value | The value to set the argument to. |
◆ ToString()
override string GTA.NaturalMotion.Message.ToString |
( |
| ) |
|
Returns the internal message name.
The documentation for this class was generated from the following file:
- C:/Users/nitan/source/repos/scripthookvdotnet/source/scripting_v3/GTA.NaturalMotion/EuphoriaBase.cs