|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
@brief Subsystem responsible for managing creature-based puzzles. More...
Public Member Functions | |
Functions | |
| void | DoorTriggers (FGameplayTag channel, FGothicBasicVerbMessage payload) |
| void | CheckPuzzles (FPuzzleCreatureCounter &counter) |
| @brief Checks if a door needs to be opened based on creature kill counts. | |
| FName | FindCreatureUniqueNameByDoorToOpenName (FName DoorToOpenName) |
| void | AddPuzzleEntryData (FName creatureName, int requiredKills, EPuzzleEvent puzzleEvent, TSubclassOf< UObject > extraData) |
| @brief Adds a new puzzle entry with extra data. | |
| void | AddPuzzleEntry (FName creatureName, FName doorName, FName saveState, int requiredKills=1, EPuzzleEvent puzzleEvent=EPuzzleEvent ::DeathEvent) |
| @brief Adds a new puzzle entry. | |
| void | AddPuzzleCount (TSubclassOf< UPuzzleCountExtraData > extraData) |
| Public Member Functions inherited from UScriptGameInstanceSubsystem | |
| UGameInstance | GetGameInstance () const |
| void | Initialize () |
| bool | ShouldCreateSubsystem (UObject Outer) const |
| void | Tick (float32 DeltaTime) |
| void | Deinitialize () |
| 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 |
Static Public Member Functions | |
Static Functions | |
| static void | CallGameplayMessage (FGameplayTag channel, FName connected) |
| static void | CallGlobalEvent (UWorld World, FName connected) |
| static void | GlobalCallGameplayMessage (UWorld World, FGameplayTag channel, FName connected) |
| static void | GlobalCloseDoor (FName connected) |
| @brief Close a door from blueprint. | |
| static void | GlobalCloseDoorWorld (UWorld World, FName connected) |
| static void | GlobalOpenDoor (FName connected) |
| @brief Open a door from blueprint. | |
| static void | GlobalOpenDoorWorld (UWorld World, FName connected) |
| static void | GlobalUnlockDoor (FName doorName) |
| @brief Unlock a door from blueprint. | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UScriptGameInstanceSubsystem | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UGameInstanceSubsystem | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from USubsystem | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
PuzzlesSubsystem | |
| TArray< FPuzzleStepsCounter > | m_PuzzleStepArray |
| TArray< FName > | m_FinishedPuzzles |
| TArray< FPuzzleCreatureCounter > | m_PuzzleCreatureArray |
| @brief Array to store all creature counters for puzzles | |
| Public Attributes inherited from UScriptGameInstanceSubsystem | |
| const UGameInstance | GameInstance |
| 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 |
Puzzles|Persistence | |
| TMap< FName, int > | CreatureKillCounterMap |
| @brief Returns a read-only reference to the full kill counter map. | |
| TMap< FName, int > | m_CreatureKillCounterSaved |
| const TMap< FName, int > & | GetCreatureKillCounterMap () const |
| @brief Returns a read-only reference to the full kill counter map. | |
| void | SetCreatureKillCounterMap (TMap< FName, int > NewKillMap) |
| @brief Overwrites the entire kill counter map. | |
@brief Subsystem responsible for managing creature-based puzzles.
| void AddPuzzleCount | ( | TSubclassOf< UPuzzleCountExtraData > | extraData | ) |
| void AddPuzzleEntry | ( | FName | creatureName, |
| FName | doorName, | ||
| FName | saveState, | ||
| int | requiredKills = 1, | ||
| EPuzzleEvent | puzzleEvent = EPuzzleEvent :: DeathEvent ) |
@brief Adds a new puzzle entry.
| void AddPuzzleEntryData | ( | FName | creatureName, |
| int | requiredKills, | ||
| EPuzzleEvent | puzzleEvent, | ||
| TSubclassOf< UObject > | extraData ) |
@brief Adds a new puzzle entry with extra data.
|
static |
| void CheckPuzzles | ( | FPuzzleCreatureCounter & | counter | ) |
@brief Checks if a door needs to be opened based on creature kill counts.
| void DoorTriggers | ( | FGameplayTag | channel, |
| FGothicBasicVerbMessage | payload ) |
@brief Returns a read-only reference to the full kill counter map.
|
static |
|
static |
@brief Close a door from blueprint.
|
static |
@brief Open a door from blueprint.
|
static |
@brief Unlock a door from blueprint.
@brief Overwrites the entire kill counter map.
|
static |
@brief Returns a read-only reference to the full kill counter map.
| TArray<FPuzzleCreatureCounter> m_PuzzleCreatureArray |
@brief Array to store all creature counters for puzzles
| TArray<FPuzzleStepsCounter> m_PuzzleStepArray |