Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Shorten (https://forums.graalonline.com/forums/showthread.php?t=22256)

adam 02-01-2002 02:47 AM

Quote:

Originally posted by TDK_RC6
will somoeone shorten this please


if (created) {
destroy; }


NPC Code:

if (created) destroy;



bah doesn't anyone know how to shorten a script besides kyle...

entravial 02-01-2002 04:18 AM

~AlphaFlame~

Yea, I know how you can shorten it. Use a gun... oh!! You mean the script? Uhhh I know I know!! Learn to script you newbie!! :megaeek: :megaeek: :megaeek: :megaeek: :megaeek:

kyle0654 02-01-2002 06:51 AM

Quote:

Originally posted by TDK_RC6
will somoeone shorten this please


if (created) {
destroy; }

NPC Code:

destroy;


Created will be the first flag called on the npc, and it will run past destroy;, which needs no flags to run, just something to trigger the npc, and it will destroy it.

adam 02-01-2002 08:15 AM

This is why Kyle ownz. ;)


All times are GMT +2. The time now is 10:39 PM.

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