Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-17-2005, 10:16 AM
Aethorpe Aethorpe is offline
Their black hands protect
Aethorpe's Avatar
Join Date: Dec 2004
Location: Beyond infinite.
Posts: 265
Aethorpe is on a distinguished road
Send a message via AIM to Aethorpe Send a message via MSN to Aethorpe
Showimg is a pain in the...

I am trying to use an NPC with a list of showimg to display all the images for each level, rather that just setting the NPC image and making alot of useless empty NPCs, and I can't get it to work if I set the x,y. I did, however, manage to get it to work if I set the NPC at the first image location and do showimg at x,y and then base all the other images off of the coordinates of the first image, like so.

NPC Code:

showimg 1,smokeani.mng,x,y;
showimg 2,smokeani.mng,x + 2,y;
showimg 3,smokeani.mng,x + 1,y - 1;
showimg 4,treetop.png,x -1,y + 23;



But now my problem is, if I walk out of range of the original NPC, all the rest disappear, even some that I would still need to be able to see, is there anyway to make them stay visible regardless of where I am in relation to the NPC containing the scripts?

Any suggestions are welcome, thanks.
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:42 PM.


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