Yep, you don't need a .hps file to load a file.
I ran my map quite a few times without the hps.
The only thing you need, is a config file at the root of your story, and a map.
Okay, sorry for double post, but I thought it wouldn't get "bumped" to the top again and get unseen messages
I can't find a proper Script Function to give a door a small push so it opens a bit.
void OnStart()
{
GiveItemFromFile("lantern", "lantern.ent");
for(int i=0;i<10;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
AddEntityCollideCallback("Player", "scaretrigger", "scareactivate", true, 1);
SetEntityCallbackFunc("lantern", "lanterndooractivate");
}
void scareactivate(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("scaremonster", true);
AddEnemyPatrolNode("scaremonster", "scaremonsterpath1", 0, "");
}
void lanterndooractivate(string &in entity, string &in type)
{
SetSwingDoorLocked("doorlantern", false, false);
HERE MUST GO THE CODE FOR THE PUSH!
}
I've tested if the trigger worked, and the door did unlock.
So it only has to get a little push now.
I tried "RotatePropToSpeed", but it makes the door ummm... well float and unable to be used.