Graal Forums

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

Graal518 07-11-2002 12:57 AM

Callweapon
 
Wind no gets.

Falcor 07-11-2002 02:00 AM

its like triggeraction. only less complicated. and geared twards playerweapons.
callweapon weaponindex,flag;
so if I call my selected weapon with the flag "sayhi"
NPC Code:

callweapon selectedweapon,sayhi;



and in the weapon I have

NPC Code:

if(sayhi) {
setplayerprop #c,Hi!;
}



I will say hi when I call the weapon.

Legondary_MyTH 07-11-2002 02:31 AM

heh
 
that would be good for all those save the old man quest :D

adam 07-11-2002 02:41 AM

call weapon am useful :D

Graal518 07-12-2002 06:20 AM

Wind is in thankings.


All times are GMT +2. The time now is 10:50 AM.

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