View Single Post
Old 03-11-2004, 04:30 AM   #1
robertthebard
Xanathar Thieves Guild
 

Join Date: March 17, 2001
Location: Wichita, KS USA
Age: 60
Posts: 4,537
void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;

int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);

object oTarget;
object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("DG_HermePoint_01");

lTarget = GetLocation(oTarget);

oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "dg_hermes_01", lTarget);

}

This spawns the creature once for the pc, but if multiple pc's go in, I get multiple creatures, which is ok, as he's not hostile, but I am using a Frost giant for the creature, and it's a small room, plus I'd like the dialog that this creature has to make an item useable, once per pc who talks to him. I just have one question: How??????
__________________
To those we have lost; May your spirits fly free.
Good Music: Here.
Interesting read, one of my blogs.
robertthebard is offline   Reply With Quote