Trouble With Guiding Rods
Having a bit of trouble using guiding rods and the guiding rod machine (in original Amnesia, the part where you have to start the elevator by plugging in the 3 rods). Well I want to do something similar, however, whenever I go to use a rod on the machine, it just says "no object to use item on." This is odd, because the machine is definitely an entity, and it should be a valid object to use an item on, right?
Not sure if it's a scripting issue, or level editor issue.
In case it is my script, here are the functions I'm using:
AddUseItemCallback("guiding_rod01_1", "guiding_rod01_1", "guiding_rod_machine_1", "rod1", true);
Then:
void rod1(string &in asItem, string &in asEntity)
{
PlaySoundAtEntity("", "13_rod_in.snt", "Player", 0, false);
SetEntityActive("guiding_rod_2", true);
RemoveItem("guiding_rod01_1");
}
Any ideas what might be wrong?
Emma's Story Part II 100% Complete
|