Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Database and serverflags question. (https://forums.graalonline.com/forums/showthread.php?t=134265613)

khortez 01-23-2012 06:00 AM

Database and serverflags question.
 
whats the difference between server flags and database flags?

cbk1994 01-23-2012 06:20 AM

Server flags are not stored as attributes of a database NPC. They either start with server. or serverr. The former isn't sent to all players, so can be good for things that are only needed serverside, whereas the latter is available everywhere but can only be modified serverside.

Database flags are attributes of a database NPC that can only be read serverside.

khortez 01-23-2012 06:59 AM

is it possible to delete server flags through script? if so how?

fowlplay4 01-23-2012 07:07 AM

Quote:

Originally Posted by khortez (Post 1682454)
is it possible to delete server flags through script? if so how?

Works like any other flag does:

server.flag = "";

Only on the server-side though.

callimuc 01-23-2012 05:14 PM

Quote:

Originally Posted by fowlplay4 (Post 1682455)
Works like any other flag does:

server.flag = "";

Only on the server-side though.

Canīt you also use something like server.flag.destroy();?

fowlplay4 01-23-2012 07:59 PM

Quote:

Originally Posted by callimuc (Post 1682486)
Canīt you also use something like server.flag.destroy();?

No.


All times are GMT +2. The time now is 04:49 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.