Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Default function calls? Noticing overwrites? (https://forums.graalonline.com/forums/showthread.php?t=78748)

projectigi 02-17-2008 10:53 PM

Default function calls? Noticing overwrites?
 
Hi,

how can i have my script notice if a function of it is being overwritten by another script and how can i call the default function?

Client RC did that when i was changing its functions :P ( something like "Function xyz has been overwritten by an lesser privileged script. Using default function" )

Inverness 02-18-2008 12:10 AM

I believe that is a feature of the login server to prevent other servers from changing the weapons it adds to you automatically.

Admins 02-22-2008 03:27 PM

To call the original version of the function set the function to NULL (myfunction = NULL; myfunction(); )

projectigi 02-22-2008 05:52 PM

ah, ty :)


All times are GMT +2. The time now is 02:44 AM.

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