SphereCommunity
ATTR! - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: ATTR! (/Thread-ATTR--3551)



ATTR! - djazraell - 06-12-2014 05:59 AM

Friends me. Asd but I am writing error 010 att coming to the console
Code:
SRC.NEWITEM=0199
src.act.color=07a1
SRC.ACT.ATTR=attr 010
SRC.ACT.P=<SRC.P>
SRC.ACT.MOVE -11 -5 0
Get it if you write like that when I save those places are disappearing.!
Code:
SRC.ACT.ATTR=attr_static|attr_decay



RE: ATTR! - Extreme - 06-12-2014 06:09 AM

SRC.ACT.ATTR=010


RE: ATTR! - Coruja - 06-12-2014 08:25 AM

you must update your NEWITEM sintax

this is not used anymore:
Code:
SRC.NEWITEM i_something
SRC.ACT.something

the new sintax is:
Code:
SERV.NEWITEM i_something
NEW.something
the old code still works, but it's recommended use the new sintax

also ATTR is not set this way, ATTR is just a value
if you want set ATTR 010 you must use "NEW.ATTR=010" instead "NEW.ATTR=attr 010"


RE: ATTR! - djazraell - 06-12-2014 02:15 PM

(06-12-2014 08:25 AM)Coruja Wrote:  you must update your NEWITEM sintax

this is not used anymore:
Code:
SRC.NEWITEM i_something
SRC.ACT.something

the new sintax is:
Code:
SERV.NEWITEM i_something
NEW.something
the old code still works, but it's recommended use the new sintax

also ATTR is not set this way, ATTR is just a value
if you want set ATTR 010 you must use "NEW.ATTR=010" instead "NEW.ATTR=attr 010"
Very thanks