GetIsID

From the CreationKit Wiki
Jump to navigation Jump to search

This function takes a form as its parameter, and returns 1 if the run-on reference's base form is the same form, or 0 otherwise. If the run-on reference is a leveled actor, then this function compares its parameter to the ActorBase that was selected for spawn, rather than to the LeveledActor form.

If the parameter isn't a valid base form (the Creation Kit lets you specify several forms that aren't), then this function exits early, returning 0.

Papyrus Version[edit | edit source]

GetBaseObject - ObjectReference