View Single Post
Old 09-05-2012, 05:45 PM   #217
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tatooine
Posts: 1,575
Current Game: KotOR: EotF
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
I've been having trouble recently with a WIP to get the following script to run off a dialog that starts when the player enters the module.

Code:
void main() {

string sTemplate = "ke_crpse001";
object oContainer=GetObjectByTag("EchoCorpse");
vector vCorpse = Vector(-21.23365, -6.85682, 0.0);
location lCorpse = Location(vCorpse, 0.0);

  CreateObject(OBJECT_TYPE_PLACEABLE, sTemplate, lCorpse);
}
Any thoughts about what I'm doing wrong? As far as I can tell, it looked right and it compiled without giving me any errors.



Kast's Echo
A Debt Unpaid | KotOR: Echo of the Force | Recruit Function
"Aahhhh! What are you doing?! Remove the arc wrench, remove the arc wrench! Medic!" --HK-47
Ferc Kast is offline   you may: quote & reply,