readonly int Object.View
Gets the view that the object is currently set to. This is either the view number, or 0
if the object is not currently assigned a view (in which case the Graphic property will
hold its sprite number instead).
This property is read-only. To change the view, use the SetView function. To remove
the view, set the Graphic property to a sprite slot.
Example:
Display("Object oDoor's view is currently view %d.", oDoor.View);
will display the oDoor object's current view number
SeeAlso: Object.SetView,
Object.Graphic, Object.Loop,
Object.Frame
|