Thread: [WIP] LDR's WIPs
View Single Post
Old 10-29-2010, 07:24 PM   #32
Gentleman Modder
newbiemodder's Avatar
Join Date: Feb 2009
Location: Chicago
Posts: 711
Veteran Modder 
I'm not a scipter, so assuming your script is logically right. I think your a missing som }'s

void main()
  object oEntering = GetEnteringObject();
  object oPC=GetFirstPC();
  if (GetIsPC(oEntering))
      //check if the object is already there to avoid multiple objects
      if  (!GetIsObjectValid(GetObjectByTag("kor_czex1")))
          //Note that the script uses OBJECT_TYPE_CREATURE instead of OBJECT_TYPE_PLACEABLE - that's the only difference with the container:
          CreateObject(OBJECT_TYPE_CREATURE, "kor_czex1", Location(Vector(22.99,23.79,59.10), 00.28));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_czex2", Location(Vector(40.78,00.68,59.22), 00.23));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_czex3", Location(Vector(32.08,-40.12,59.16), 00.12));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_cmer", Location(Vector(18.13,11.03,58.94), 00.97));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_coff1", Location(Vector(10.20,-20.08,63.71), -00.61));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_coff2", Location(Vector(10.24,08.61,63.71), -00.70));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_coff3", Location(Vector(10.96,10.71,63.71), 00.99));
          CreateObject(OBJECT_TYPE_CREATURE, "kor_coff4", Location(Vector(10.96,10.71,63.71), 00.99));

     ExecuteScript("k33b_openacademy", OBJECT_SELF); 	

Try adding two more....see the yellow

Who's more foolish, the fool or the fool that follows?

Just exactly what is a head-piece to the Staff of Ra?
newbiemodder is offline   you may: quote & reply,