Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-15-2001, 12:18 AM
Psyker Psyker is offline
Tired Sloth
Join Date: Mar 2001
Posts: 6,217
Psyker will become famous soon enough
Send a message via AIM to Psyker Send a message via Yahoo to Psyker
Red face

How would I be able to put an NPC on top of another NPC?

For example, say I have a shelf npc, and I want to put a beer npc on top... how would I do that?

(I've tried already, either one of the npcs disappear on the bottom and can't be seen)
__________________

Last edited by Psyker; 03-15-2001 at 12:20 AM..
Reply With Quote
  #2  
Old 03-15-2001, 12:55 AM
galen galen is offline
Professional God
Join Date: Mar 2001
Location: Colorado, USA
Posts: 925
galen is on a distinguished road
create the shelf npc first, then the beer npc. npcs are displayed in the order which they were created
__________________
Galen S. Kant
galen "at" terraweb.net
Reply With Quote
  #3  
Old 03-15-2001, 12:58 AM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Holy hell.

I didn't know that.
Reply With Quote
  #4  
Old 03-15-2001, 02:13 AM
Psyker Psyker is offline
Tired Sloth
Join Date: Mar 2001
Posts: 6,217
Psyker will become famous soon enough
Send a message via AIM to Psyker Send a message via Yahoo to Psyker
okay, I'll try that. thanks galen.
__________________
Reply With Quote
  #5  
Old 03-15-2001, 02:52 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Erm...

In the editor, that's often true....
At runtime though, it goes layer first (drawoverplayer beats regular beats drawunderplayer), then base Y (objects that touch the ground more to the south are drawn over same-layer objects "behind" them to the north.)
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #6  
Old 03-15-2001, 06:48 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Hmm...

Well I tihnk that if you give the shelf drawunderplayer and the beer just plain nothing that it gets drawn over the shelf , but anywho if you are making use of changeimgvis here's the true explanation of it:

changeimgvis index,0; Means drawunderplayer.
changeimgvis index,1; Means Drawasplayer, I.E. if a player is standing in front of it hes drawn over it, but if he stands besides it he's draw under it.
changeimgvis index,2; Means drawoverplayer. (Default)
changeimgvis index,4; Means draw as stat, this type of showimg also work slightly different and isn't effected by seteffect effects and is drawn over everything always.
__________________

Reply With Quote
  #7  
Old 03-20-2001, 08:49 AM
Mustang1988 Mustang1988 is offline
Registered User
Mustang1988's Avatar
Join Date: Mar 2001
Location: California
Posts: 0
Mustang1988 is on a distinguished road
hehehe

Quote:
Originally posted by Lycia
Holy hell.

I didn't know that.
Hehehe... I KNEW THAT! lol
__________________
Reply With Quote
  #8  
Old 03-21-2001, 08:49 AM
FatherDante FatherDante is offline
Low res, high class!
FatherDante's Avatar
Join Date: Mar 2001
Location: Coming soon to the Super Famicon
Posts: 5,164
FatherDante will become famous soon enough
Send a message via ICQ to FatherDante Send a message via AIM to FatherDante
I found that out making my quest, I had a ton of NPCs in a row.
__________________

Take off in your Bean-with-Bacon Megarocket,
defender of the galaxy, Commander Keen!
Reply With Quote
  #9  
Old 03-23-2001, 08:24 AM
Psyker Psyker is offline
Tired Sloth
Join Date: Mar 2001
Posts: 6,217
Psyker will become famous soon enough
Send a message via AIM to Psyker Send a message via Yahoo to Psyker
Yay! Now the NPCs work, w00h00!
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:53 PM.


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