SphereCommunity
Areadef after dclick - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Areadef after dclick (/Thread-Areadef-after-dclick)

Pages: 1 2 3


RE: Areadef after dclick - Extreme - 07-03-2014 11:18 AM

Do you need this TEVENT on this item?


RE: Areadef after dclick - kn4tseb - 07-03-2014 11:52 AM

well this "mem" item gives regen attributes, dunno how to make them work without the tevent


RE: Areadef after dclick - kn4tseb - 07-04-2014 04:55 AM

well i was able to make it work at ON=@Equip.... for some reason if the attributes are set On=@Create the item is not created in the world

Is it possible to have chances at tags? example

tag0.mytag may have the fallowing values: 1, 2, 3 and 4

is it possible to make this: tag0.mytag = < { 1 10 2 8 3 7 4 6 } > . so tag0.mytag = 1 would have a 10 from 31 of chances to be
tag0.mytag = 2 would have 8 from 31 chances, = 3 would have 7 and = 4 would have 6

is it possible?


RE: Areadef after dclick - kn4tseb - 07-06-2014 03:35 PM

I need to know if this check will have no conflicts with eachother and if it would work, i will also need to know how to subtract hexa values cause &~ didnt work Confused
i searched for statf in the forum but found almost nothing.

FORCLIENTS 3
IF !(<flags>&08)
FLAGS |= 08
ENDIF
IF (<flags>&02000000)
Criminal = 0 // FLAGS &~ 02000000
ENDIF
IF (<flags>&080)
flags.statf_poisoned // <----- need to know how to remove poison condition..
ENDIF
ENDFOR

Thanks!


RE: Areadef after dclick - Extreme - 07-07-2014 02:00 AM

Sorry buddy, its
FLAGS &= ~flag to remove
FLAGS |= flag to add


RE: Areadef after dclick - kn4tseb - 07-07-2014 02:33 AM

ty ^^