Originally Posted by arsenalforever
I showed zbyl2 your script and this is what he had to say:
Here is a list of the scripts I have currently (I'll make the conversation scripts later. I just want to see if the Gammorean is spawning correctly):
object oEntering = GetEnteringObject();
object Gamtest = GetObjectByTag("g_gammorean01");
Spawn.x = 24.0;
Spawn.y = 34.0;
Spawn.z = 65.0;
CreateObject(OBJECT_TYPE_CREATURE, "g_gammorean01", Location(Spawn,0.0));
The OnEnter value for Iziz Airport was k_501_enter but why do I need to execute k_501_enter at the end of both the scripts?
Are the above two scripts enough for me to be able to see the Gammorean in the Iziz Spaceport?
That ExecuteScript() part in the second one isn't necessary, sorry about that.
Those two scripts should be enough, but there are two things to point out:
1. Each of the numbers for the spawn vector and the float in the location have to have an "f" on the end, like "0.0f". Otherwise the compiler might throw an error, and the game might not execute it correctly.
2. Did you get the coordinates from the game, or are these a guess?
P.S: As to zybl2's comment, I don't have a problem with it. I was going to tell you about the triggers, but you were focused on testing it in-game and the triggers aren't one of the gff file types I'm particularly familiar with...