Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   New scripting engine for Playerworlds (https://forums.graalonline.com/forums/showthread.php?t=57476)

Admins 02-04-2005 08:54 PM

New scripting engine for Playerworlds
 
If you would like to use the new scripting engine on your server then please contact me via forum PM. The reason why it is not enabled by default is that some old scripts might not work the same like before. We are still testing it with scripts on Graal Kingdoms and try to make everything as compatible as possible, but since the engine is not 100% tested with old scripts yet and the documentation is not complete yet (need to prepare some example scripts) it is only recommended for servers with good scripters.

If your server is using the new scripting engine, keep care to only use old scripting for client-side scripts. If you want to test the new scripting engine for clientside then make special weapon scripts which are only sent to players with version >=3.1, e.g. like this in the Control-NPC:
NPC Code:

function onActionPlayerOnline() {
if (graalversion>=3.1)
addweapon("RC");
}



All times are GMT +2. The time now is 04:41 AM.

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