Daggerfall Mod:DFRemake/Resource - RMFindDungeonObjectID
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/Resource - RMFindDungeonObjectID)
integer RMFindDungeonObjectID ( DWORD ObjectID )[edit]
Inputs[edit]
- ObjectID: The ID of the dungeon object to find.
Outputs[edit]
Returns 1 on success and sets the current element of RMDungeonObjects() to the given object. Returns 0 on any error.
Description[edit]
Attempts to find the given object in the list of current dungeon objects.
Example[edit]
Local Result as integer Result = RMFindDungeonObjectID(1090) if (Result) print "Dungeon object #1090 has original reference object #", RMDungeonObjects().RefObjectID endif