rep-patriot101 Posted January 21, 2009 Share Posted January 21, 2009 My script compiler lists errors in the "r" variable and poor definition in Parameter 1(whatever that means) of "location" I am trying to spawn a modified version of "c_iriaz.utc" Link to comment Share on other sites More sharing options...
Star Admiral Posted January 21, 2009 Share Posted January 21, 2009 Could you post the script so we can see what is wrong with it? - Star Admiral Link to comment Share on other sites More sharing options...
glovemaster Posted January 22, 2009 Share Posted January 22, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.