Graal Forums

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

Fai 04-01-2001 06:14 AM

Uh, lets suppose this were an NPC:

if (strequals(#c,blah)) {

Well how could I make that set a gani for all the players in the room?

grim_squeaker_x 04-01-2001 05:56 PM

Hmm well to keep it at your example:
NPC Code:
if (strequals(#c,blah)) {
for (this.p=0;this.p<playerscount;this.p++) {
if (!strequals(#m(this.p),ganiname)) {
setani ganiname,;
}
}
}


Should work.

Fai 04-01-2001 10:13 PM

OMG

THANKS


All times are GMT +2. The time now is 08:32 PM.

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