View Single Post
Old 01-22-2009, 03:05 AM   #3
Now-a-days GroovyCarrot
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
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, "FileName", 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

If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,