Daggerfall Mod:DFRemake/Resource - RMFindDungeonObjectID
< Mod / Daggerfall: Daggerfall Mod: DFRemakeinteger RMFindDungeonObjectID ( DWORD ObjectID )Edit
InputsEdit
- ObjectID: The ID of the dungeon object to find.
OutputsEdit
Returns 1 on success and sets the current element of RMDungeonObjects() to the given object. Returns 0 on any error.
DescriptionEdit
Attempts to find the given object in the list of current dungeon objects.
ExampleEdit
Local Result as integer Result = RMFindDungeonObjectID(1090) if (Result) print "Dungeon object #1090 has original reference object #", RMDungeonObjects().RefObjectID endif