SphereCommunity
Static / Axis / Add - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Static / Axis / Add (/Thread-Static-Axis-Add)



Static / Axis / Add - Fabio Ruiz - 06-04-2017 12:56 PM

I downloaded the 56D version of Sphere and realized that the Static command was removed.

I was able to manually add some items with .add, but there are items like forge, which I can not add in any way.

Not to mention that everything is being done manually, since the axis does not work that way.

What can I do to make my life easier and get the sphere back to work as before or in a similar way?

Sorry for English and thank you.


RE: Static / Axis / Add - pointhz - 06-04-2017 10:12 PM

[FUNCTION static] //by Thomas20198701
IF !(<ARGN>)
IF (<ISEMPTY <DEF.<ARGS>>>)
SYSMESSAGE Not a valid command or format.
RETURN 0
ENDIF
ENDIF
IF !(<ISEMPTY <ARGS>>)
IF !(<SERV.ITEMDEF.<ARGS>>)
SYSMESSAGE Not a valid command or format.
RETURN 0
ENDIF
TARGETFG static_ <ARGS>
SYSMESSAGE Where would you like to place the <SERV.ITEMDEF.<ARGS>.NAME>?
RETURN 1
ENDIF
SYSMESSAGE Not a valid command or format.
RETURN 0

[FUNCTION static_]
SERV.NEWITEM=<ARGS>
NEW.ATTR |= 010
NEW.TIMER = -1
NEW.P = <SRC.TARGP>
ACT=<NEW.UID>


RE: Static / Axis / Add - Coruja - 06-05-2017 02:04 AM

try check if your script pack is updated, the function 'static' is located on sphere_backward_compatibility.scp