Graal Forums

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

Onyx_Brasil 11-26-2001 11:22 PM

Scripts
 
hey, can someone tell me the script that if u have certain TAG u cant be hit by arrows of your castle and u cant get hit inside the castle?
can u tell me? plz?????:p

chime 11-27-2001 02:17 AM

umm i think its like #g for guild so i would make it if they entered and there guild = whatever then they get hurt or whatever

Sennema 11-27-2001 04:52 AM

I'm not really sure about the arrows, unless you used NPCs for them... Anyway, it'd work something like this for the castle(using gate.png. You could change the images or whatever)...

if(playertouchsme&&strequals(#g,guildnamehere)){
hidelocal;
showimg gate2.png,x,y;
sleep 1;
hidelocal;
showimg gate.png,x,y;
}
else if(playertouchsme&&!strequals(#g,guildnamehere)){
hurt 1;
}

That's what I gathered from what you were saying...


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

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