SphereCommunity
How to check for static attr? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How to check for static attr? (/Thread-How-to-check-for-static-attr)



How to check for static attr? - Capes - 03-11-2018 05:13 AM

Is there a way to check an item's attr property for attr_static or attr_move_never ?

Thanks
Capes

Solved.....

In a TARGETFG
if (!(<ARGO.ATTR> & 08000) && !(<ARGO.ATTR> & 010))
src.SYSMESSAGE Object must be a static or non moveable.
return 1
endif