|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
Avoidance | |
| float32 | DeltaTimeToPredict |
| This is how far forward in time (seconds) we extend our velocity cones and thus our prediction. | |
| float32 | ArtificialRadiusExpansion |
| Multiply the radius of all STORED avoidance objects by this value to allow a little extra room for avoidance maneuvers. | |
| float32 | HeightCheckMargin |
| Allowable height margin between obstacles and agents. This is over and above the difference in agent heights. | |
| float32 | LockTimeAfterClean |
| How long to stay on course (barring collision) after making an unobstructed move (should be > 0.0, but can be less than a full frame). | |
| float32 | LockTimeAfterAvoid |
| How long to stay on course (barring collision) after making an avoidance move. | |
| float32 | DefaultTimeToLive |
| How long an avoidance UID must not be updated before the system will put it back in the pool. Actual delay is up to 150% of this value. | |
| Public Attributes inherited from UObject | |
| const UClass | Class |
| const UObject | Outer |
| const UPackage | Outermost |
| const UPackage | Package |
| const UWorld | World |
| const FName | Name |
| const bool | IsRooted |
AI | |
| const int | NewAvoidanceUID |
| Get appropriate UID for use when reporting to this function or requesting RVO assistance. | |
| const int | ObjectCount |
| Get the number of avoidance objects currently in the manager. | |
| int | GetNewAvoidanceUID () |
| Get appropriate UID for use when reporting to this function or requesting RVO assistance. | |
| int | GetObjectCount () |
| Get the number of avoidance objects currently in the manager. | |
| bool | RegisterMovementComponent (UMovementComponent MovementComp, float32 AvoidanceWeight=0.500000) |
| Register with the given avoidance manager. | |
| FVector | GetAvoidanceVelocityForComponent (UMovementComponent MovementComp) |
| Calculate avoidance velocity for component (avoids collisions with the supplied component). | |
Additional Inherited Members | |
| Public Member Functions inherited from UObject | |
| bool | MarkPackageDirty () const |
| void | RemoveFromRoot () |
| bool | GetIsRooted () const |
| bool | IsTransient () const |
| bool | Modify (bool bAlwaysMarkDirty=true) |
| void | SetTransactional (bool bTransactional) |
| bool | IsSupportedForNetworking () const |
| UClass | GetClass () const |
| UObject | GetOuter () const |
| UObject | GetTypedOuter (TSubclassOf< UObject > Target) const |
| Traverses the outer chain searching for the next object of a certain type. | |
| UPackage | GetOutermost () const |
| UPackage | GetPackage () const |
| void | AddToRoot () |
| UWorld | GetWorld () const |
| FName | GetName () const |
| FString | GetFullName (const UObject StopOuter=nullptr) const |
| FString | GetPathName (const UObject StopOuter=nullptr) const |
| bool | IsA (const UClass Class) const |
| Returns true if this object is of the specified type, or a child of that type. | |
| void | SaveConfig () |
| void | LoadConfig () |
| void | ReloadConfig () |
| void | CopyScriptPropertiesFrom (const UObject OtherObject) |
| void | opCast (?&Address) const |
| FString | ToString () const |
| FVector GetAvoidanceVelocityForComponent | ( | UMovementComponent | MovementComp | ) |
Calculate avoidance velocity for component (avoids collisions with the supplied component).
| int GetNewAvoidanceUID | ( | ) |
Get appropriate UID for use when reporting to this function or requesting RVO assistance.
| int GetObjectCount | ( | ) |
Get the number of avoidance objects currently in the manager.
| bool RegisterMovementComponent | ( | UMovementComponent | MovementComp, |
| float32 | AvoidanceWeight = 0.500000 ) |
Register with the given avoidance manager.
| AvoidanceWeight | When avoiding each other, actors divert course in proportion to their relative weights. Range is 0.0 to 1.0. Special: at 1.0, actor will not divert course at all. |
|
static |
| float32 ArtificialRadiusExpansion |
Multiply the radius of all STORED avoidance objects by this value to allow a little extra room for avoidance maneuvers.
| float32 DefaultTimeToLive |
How long an avoidance UID must not be updated before the system will put it back in the pool. Actual delay is up to 150% of this value.
| float32 DeltaTimeToPredict |
This is how far forward in time (seconds) we extend our velocity cones and thus our prediction.
| float32 HeightCheckMargin |
Allowable height margin between obstacles and agents. This is over and above the difference in agent heights.
| float32 LockTimeAfterAvoid |
How long to stay on course (barring collision) after making an avoidance move.
| float32 LockTimeAfterClean |
How long to stay on course (barring collision) after making an unobstructed move (should be > 0.0, but can be less than a full frame).
| const int NewAvoidanceUID |
Get appropriate UID for use when reporting to this function or requesting RVO assistance.
| const int ObjectCount |
Get the number of avoidance objects currently in the manager.