SHVDN
v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
|
Public Member Functions | |
ForceLeanTowardsObjectHelper (Ped ped) | |
Creates a new Instance of the ForceLeanTowardsObjectHelper for sending a ForceLeanTowardsObject Message to a given Ped. More... | |
Public Member Functions inherited from GTA.NaturalMotion.CustomHelper | |
void | Start () |
Starts this Natural Motion behavior on the Ped that will loop until manually aborted. More... | |
void | Start (int duration) |
Starts this Natural Motion behavior on the Ped for a specified duration. More... | |
void | Stop () |
Stops this Natural Motion behavior on the Ped. More... | |
void | SetArgument (string argName, bool value) |
Sets a Message argument to a bool value. More... | |
void | SetArgument (string argName, int value) |
Sets a Message argument to a int value. More... | |
void | SetArgument (string argName, float value) |
Sets a Message argument to a float value. More... | |
void | SetArgument (string argName, string value) |
Sets a Message argument to a string value. More... | |
void | SetArgument (string argName, Vector3 value) |
Sets a Message argument to a Vector3 value. More... | |
void | ResetArguments () |
Resets all arguments to their default values. More... | |
override string | ToString () |
Returns the internal message name. More... | |
Properties | |
float | LeanAmount [set] |
Amount of lean, 0 to about 0.5. -ve will move away from the target. More... | |
Vector3 | Offset [set] |
Offset from instance position added when calculating position to lean to. More... | |
int | InstanceIndex [set] |
LevelIndex of object to move towards. More... | |
int | BoundIndex [set] |
BoundIndex of object to move towards (0 = just use instance coordinates). More... | |
int | BodyPart [set] |
Body part that the force is applied to. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GTA.NaturalMotion.CustomHelper | |
CustomHelper (Ped target, string message) | |
Creates a helper class for building Natural Motion messages to send to a given Ped. More... | |
GTA.NaturalMotion.ForceLeanTowardsObjectHelper.ForceLeanTowardsObjectHelper | ( | Ped | ped | ) |
Creates a new Instance of the ForceLeanTowardsObjectHelper for sending a ForceLeanTowardsObject Message to a given Ped.
|
set |
Body part that the force is applied to.
Default value = 0. Min value = 0. Max value = 21.
|
set |
BoundIndex of object to move towards (0 = just use instance coordinates).
Default value = 0. Min value = 0.
|
set |
LevelIndex of object to move towards.
Default value = -1. Min value = -1.
|
set |
Amount of lean, 0 to about 0.5. -ve will move away from the target.
Default value = 0.2f. Min value = -0.5f. Max value = 0.5f.
|
set |
Offset from instance position added when calculating position to lean to.
Default value = Vector3(0.0f, 0.0f, 0.0f). Min value = -100.0f. Max value = 100.0f.