View Single Post
Old 09-05-2012, 07:14 PM   #219
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Or you could make a waypoint in the GIT, and make the waypoint's location the location of your vector. Then grab that waypoint's location via the script and use it for location lCorpse. So something like this:

Code:
void main()
{

string sTemplate = "ke_crpse001";

object oWP = GetObjectByTag("sp_point");

location lCorpse = GetLocation(oWP);

  CreateObject(OBJECT_TYPE_PLACEABLE, sTemplate, lCorpse);

}
Also, JC, it appears that my script works it's just that SittingSelkath placeable does not.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version

Last edited by Fallen Guardian; 09-05-2012 at 07:32 PM.
Fallen Guardian is online now   you may: quote & reply,