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
  #9  
Old 01-19-2005, 06:29 PM
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
Quote:
Originally Posted by xManiamaNx
I've seen this happen before. Have something showimg something, and walk where the actual npc would be off the screen, the showimg will hide if it isn't on layer 4.
Yep, that's what it does.

I just wanted to make an update, I found a solution, put all your image showing NPCs on one level of the gmap that isn't visited very often, say out in the water, or on top of a bunch of trees, and do it this way.

NPC Code:
setimg ae_treetop.png;
dontblock;
x = 1107.5; y = 751;



The result is that the NPCs are all plugged away on one universal NPC level instead of spread all over the map in a chaotic messy order, but when you are in the game, they are placed where they need to be, and since you're actually setting the x,y of the NPC where you want the image to be, it fixes the problem with not seeing the images.

Problem solving, orderly, effecient, I hooked a winner.
__________________
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 10:41 PM.


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