SphereCommunity
Notoflag help - Printable Version

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



Notoflag help - Rizz - 06-10-2015 06:21 PM

PHP Code:
[function noto_get]

serv.b NOTO1 <NotoGetFlag <serv.uid.0335b0>>
serv.b NOTO2 <serv.uid.0335b0.NotoGetFlag <uid>> 

0335b0 is a monster
uid is a blue players

NOTO1 = 1
NOTO2= 6

Should not be the opposite?

Code:
added NOTOGETFLAG function, returns notoriety flags for specified char, syntax: NOTOGETFLAG Viewer_Serial,Allow_Incognito

So if I have to check how a player A sees a player B should I use: <B.notogetflag <A>> ?


RE: Notoflag help - darksun84 - 06-10-2015 08:12 PM

It's correct, the noto flag returned is from the "point of the view" of the viewer (first argument -> viewer_serial)


RE: Notoflag help - Extreme - 06-10-2015 11:48 PM

REF1 <UID> // ME (WHO USED THE FUNCTION IN THIS CASE)
REF2 0335b0 // MONSTER

serv.b NOTO1 <REF1.NotoGetFlag <REF2>>
serv.b NOTO2 <REF2.NotoGetFlag <REF1>>


RE: Notoflag help - Rizz - 06-11-2015 06:19 AM

Thx to all Smile