Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Whats the code for all images in 1 npc? (https://forums.graalonline.com/forums/showthread.php?t=31811)

BLOOD_kane 06-18-2002 07:38 AM

Whats the code for all images in 1 npc?
 
I seem to have seen this somwheres, its like 1 npc that shows ALL images (that dont have special coding of their own) anyone know this code? It would reduce lag in my house alot.

kyle0654 06-18-2002 07:45 AM

simple...just learn showimg.

zallus-k 06-18-2002 07:53 AM

I think he means a level-wide "show" command, for every NPC.

Falcor 06-18-2002 09:18 AM

it could be just flags and the show / hide command.

other than that

showimg and hideimg would be my best guess.

BLOOD_kane 06-18-2002 10:28 AM

and place them in their correct x,y coords? seems simple enough.

Oh kyle are you the same one that was in EoM along time ago? If so do you remember me? and Jerom?

kyle0654 06-18-2002 11:43 AM

Quote:

Originally posted by BLOOD_kane
and place them in their correct x,y coords? seems simple enough.

Oh kyle are you the same one that was in EoM along time ago? If so do you remember me? and Jerom?

I've never been in any guilds. I do know Jerom though.

(btw, you might want to look up changeimgvis while you're at it)

Chaos0838 06-18-2002 08:25 PM

showimg index,filename,x,y;

ancientphoenix 06-18-2002 10:56 PM

String arrays... Arrays.... for loops.... showimg string index,image,x array,y array...

Sparker3000 06-19-2002 06:42 AM

you can also show messages in fonts
showimg 1,@arial@message,x,y

mikepg 06-19-2002 06:59 AM

Quote:

Originally posted by Sparker3000
you can also show messages in fonts
showimg 1,@arial@message,x,y

uhh....are you even in the right topic here?

Yeah, if it's NPCs and you want to change their images..you could probably use a for statement (if you have NPC server)

for (i=0; i<npcscount-1; i++) {
with (npcs[i]) {setimg light4.png; setcoloreffect 0,1,0,.99;}
}

I think there is also a npcs[i].image tag, but dont hold that against me if their isnt.


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

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