Difference between revisions of "OBSE Wishes Fulfilled"
Add newlines/names in messages; GetCrosshairRef, actor flag setters/getters, GetSoulLevel, etc (v0014)
imported>Scruggs (Add cell scanning functions) |
imported>Scruggs (Add newlines/names in messages; GetCrosshairRef, actor flag setters/getters, GetSoulLevel, etc (v0014)) |
||
Line 79: | Line 79: | ||
*'''GetOwner''' - Returns the owner of the calling reference. | *'''GetOwner''' - Returns the owner of the calling reference. | ||
*'''CellScan''' - Use GetFirstRef/GetNextRef to iterate through all references (or just those of a given type) within the current cell. | *'''CellScan''' - Use GetFirstRef/GetNextRef to iterate through all references (or just those of a given type) within the current cell. | ||
==OBSE v0014 (forthcoming)== | |||
*'''%N''' in [[messageBox]] - the %N character would compile as a new line. ''Fulfilled by new output functions, using %r instead of %n.'' | |||
*'''Message & MessageBox''' - Could take references as parameters and show the names of the references at the corresponding %f in the format string. It would be great for modders to provide more information to players. ''Fulfilled by new output functions using %n.'' | |||
*'''MagicItemHasScriptedEffectScript''' - Returns whether the magic item has a scripted effect with the specified script. (Also helpful for sorting scripts --[[User:Haama|Haama]] 17:15, 13 November 2007 (EST)) | |||
*'''isOffLimits''' ''actorID'' - returns true if it would be illegal for the actor to activate the calling object. | |||
*'''getHUDTarget''' - Returns a reference to the object currently targeted by the HUD reticle. ''GetCrosshairRef'' | |||
*'''Has/SetLowLevelProcessing''' - Returns true if the "No Low Level Processing" flag is unchecked for the actor. Possibly sets the flag. | |||
*'''CanFly, isBiped, canSwim, usesWeapon''' - For creatures, these boolean functions would report on the check boxes used in the Creature properties window. Useful for discriminating between flying creatures, swimming creatures, weapon-wielders, etc. | |||
*'''GetSoulLevel''' - Returns the calling actor's soul level. For NPCs, it always returns ''Grand Level''. | |||
*'''IsPersistent''' - returns true if the reference is persistent; possibly allows persistence to be toggled via script. | |||
*'''SetRespawns/GetRespawns [ObjectID]''' - Sets or gets the ''respawns'' attribute of containers. ''Also implemented for actors.'' |