Jump to content

Home

Can't compile a spawn utc script!!


rep-patriot101

Recommended Posts

I guess that means where you are using the Location() function there is a problem in parameter 1. Which is the first thing that goes in your brackets ;)

 

I'd just suggest sticking this in your script.

// Information from whereami cheat/armband
float x = 0.0; // Change this to your x value.
float y = 0.0; // Your y value.
float z = 0.0; // Your x value, though I think it sends it to the walkmesh anyway but I'd be safe than sorry 
float fOrientation = 0.0; // An angle 0-360 to face.

vector vSpawn = Vector(x, y, z);

object oIriazMutantThing = CreateObject(OBJECT_TYPE_CREATURE, "[color=cyan]FileName[/color]", Location(vSpawn, fOrientation));

 

As your file name, I wouldn't use "c_iriaz" because it will override that file, and that might mess up any mods using that file; Try something like "rep_iriaz".

 

EDIT: If your trying to spawn the thing in different circumstances then you will need to show us so we can do some debugging :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...