Thread: join problems
View Single Post
  #6  
Old 01-11-2005, 12:48 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by Evil_Trunks
it probably is joining them both when the NPC is created

i dont think join acts like a normal command
Thats what I was thinking.

PHP Code:
if (created || initialized) {
  
// Object Archetypes
  
if (strequals(#s(this.obj_archetype),chair)) {
    
setimg amz_chair.png;
    
join ph_chair;
  }
  if (
strequals(#s(this.obj_archetype),bed)) {
    
setimg element_bed1.png;
    
join ph_bed;
  }

That's what I'm using right now. It only joins the bed. I guess join isn't a normal command...
Reply With Quote