|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| bool | IsEventOfClassPending (TSubclassOf< UAIWorldEvent > AIWorldEventClass) const |
| Returns true if an event of the given class is currently pending. | |
| bool | HasCharacterJoinedEventOfClass (const AGothicCharacterState CharacterState, TSubclassOf< UAIWorldEvent > AIWorldEventClass) const |
| Returns true if the given character has joined the given event. (Event is not required to be active). | |
| bool | IsAllowedToJoinEventOfClass (const AGothicCharacterState CharacterState, TSubclassOf< UAIWorldEvent > AIWorldEventClass) const |
| Returns true if the given character is allowed to join the event of the given class. Note that characters can join even if they're not allowed. | |
| bool | IsEventOfClassActive (TSubclassOf< UAIWorldEvent > AIWorldEventClass) const |
| Returns true if an event of the given class is currently active. | |
| UAIWorldEvent | GetActiveEventOfClass (TSubclassOf< UAIWorldEvent > AIWorldEventClass) const |
| void | StartExplicitEventOfClass (TSubclassOf< UAIWorldEventExplicit > AIWorldEventClass) |
| Starts the event of the given class. (Does nothing if the event is already ongoing). | |
| void | StopExplicitEventOfClass (TSubclassOf< UAIWorldEventExplicit > AIWorldEventClass) |
| Stops the event of the given class. (Does nothing if the event is not active right now). | |
Static Public Member Functions | |
Static Functions | |
| static UAIWorldEventSubsystem | Get () |
| static UClass | StaticClass () |
Public Attributes | |
Variables | |
| FAIWorldEventStartedDelegate | OnAnyWorldEventPending |
| Broadcast if any world event is now pending to start. | |
| FAIWorldEventStartedDelegate | OnAnyWorldEventStoppedPending |
| Broadcast if any world event is no longer pending. | |
| FAIWorldEventStartedDelegate | OnAnyWorldEventEnded |
| Broadcast if any world event ended. | |
| FAIWorldEventStartedDelegate | OnAnyWorldEventStarted |
| Broadcast if any world event started. | |
|
static |
| UAIWorldEvent GetActiveEventOfClass | ( | TSubclassOf< UAIWorldEvent > | AIWorldEventClass | ) | const |
| bool HasCharacterJoinedEventOfClass | ( | const AGothicCharacterState | CharacterState, |
| TSubclassOf< UAIWorldEvent > | AIWorldEventClass ) const |
Returns true if the given character has joined the given event. (Event is not required to be active).
| bool IsAllowedToJoinEventOfClass | ( | const AGothicCharacterState | CharacterState, |
| TSubclassOf< UAIWorldEvent > | AIWorldEventClass ) const |
Returns true if the given character is allowed to join the event of the given class. Note that characters can join even if they're not allowed.
| bool IsEventOfClassActive | ( | TSubclassOf< UAIWorldEvent > | AIWorldEventClass | ) | const |
Returns true if an event of the given class is currently active.
| bool IsEventOfClassPending | ( | TSubclassOf< UAIWorldEvent > | AIWorldEventClass | ) | const |
Returns true if an event of the given class is currently pending.
| void StartExplicitEventOfClass | ( | TSubclassOf< UAIWorldEventExplicit > | AIWorldEventClass | ) |
Starts the event of the given class. (Does nothing if the event is already ongoing).
|
static |
| void StopExplicitEventOfClass | ( | TSubclassOf< UAIWorldEventExplicit > | AIWorldEventClass | ) |
Stops the event of the given class. (Does nothing if the event is not active right now).
| FAIWorldEventStartedDelegate OnAnyWorldEventEnded |
Broadcast if any world event ended.
| FAIWorldEventStartedDelegate OnAnyWorldEventPending |
Broadcast if any world event is now pending to start.
| FAIWorldEventStartedDelegate OnAnyWorldEventStarted |
Broadcast if any world event started.
| FAIWorldEventStartedDelegate OnAnyWorldEventStoppedPending |
Broadcast if any world event is no longer pending.