View Single Post
Old 03-31-2013, 04:13 AM   #18
arsenalforever
Rookie
 
Join Date: Apr 2012
Posts: 65
Okay so here are the final scripts:

1. gamspawn.nss:

Code:
void main()
{
        vector Spawn; 
        Spawn.x = -23.47745f;   
        Spawn.y = 80.85285f;   
        Spawn.z = 12.74702f;   
        float a = 0.99720;
CreateObject(OBJECT_TYPE_CREATURE, "g_gammorean01", Location(Spawn,a));
}
2. gamespawn101.nss

Code:
void main()
{
object oEntering = GetEnteringObject();
object Gamtest = GetObjectByTag("g_gammorean01");

if(GetIsPC(oEntering))
{

if(GetIsObjectValid(Gamtest)==FALSE)
{
ExecuteScript("gamspawn",OBJECT_SELF);
}
}
ExecuteScript("k_501_enter",OBJECT_SELF);
}
I got the precise coordinates with the help of the whereami armband. But I'm still unable to see the Gamorrean? All I did was placed the .ncs files of the above scripts in the override folder. What am I doing wrong?
arsenalforever is offline   you may: quote & reply,