lfnetwork.com mark read register faq members calendar

Thread: Can't compile a spawn utc script!!
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-21-2009, 02:23 PM   #1
rep-patriot101
Lurker
 
rep-patriot101's Avatar
 
Join Date: Dec 2008
Location: Earth
Posts: 9
Current Game: Kotor i,ii
Unhappy Can't compile a spawn utc script!!

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"
rep-patriot101 is offline   you may: quote & reply,
Old 01-21-2009, 02:28 PM   #2
Star Admiral
N7 Commando
 
Star Admiral's Avatar
 
Join Date: Oct 2008
Location: Omega 4 Relay
Posts: 656
Current Game: Mass Effect 2
Folder extraordinaire Helpful! 
Could you post the script so we can see what is wrong with it?

- Star Admiral
Star Admiral is offline   you may: quote & reply,
Old 01-22-2009, 03:05 AM   #3
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
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.
Code:
// 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,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Can't compile a spawn utc script!!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.