Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   noplayerkilling icon and ghost icon? (https://forums.graalonline.com/forums/showthread.php?t=19767)

LordMatt 12-28-2001 03:56 AM

noplayerkilling icon and ghost icon?
 
Is there a way to include them in your custom status bar? Something like
NPC Code:
if (this.mpdisplay>0) {
showimg 5,z_mpbar.gif,this.pos[0]+36,this.pos[1]+77;
changeimgpart 5,0,0,this.mpdisplay,11;
changeimgvis 5,4;
} else
hideimg 5;


like that only the ghost icon and noplayerkilling icon and they come on when they detect no playerkilling or a ghost in the level

btedji 12-28-2001 06:22 AM

The flag for a no player killing zone is "nopkzone"

Falcor 12-28-2001 11:02 AM

there is no ghost flag. though. (you cant interact with NPCs anyhow)

LiquidIce00 12-29-2001 06:18 AM

do you mean a npc that puts some icon img u make by ur status bar ? u can do that w/ showimg and changeimgvis to 4. not hard (if thats what u mean .. )

Faheria_GP2 12-30-2001 08:39 AM

there should be a flag like "ghostpresent" or something...


All times are GMT +2. The time now is 07:26 AM.

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