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.