Hey, I just started messing with making maps in forge (on pc) and am having some trouble with what should be a simple script command. I want it so two objects (a sound and a weapon) move when I press a button. So I scripted the following:
On an Interactive Switch (1x1x2; keypad)
<condition> On Interaction
<action> Message Send
Channel: Charlie
And on my two objects:
<condition> On Message Received
Channel: Charlie
<action> Move: Offset
(The values I need to get the objects where I want here)
Local movement is checked
When I tested it, it worked fine and exactly as I intend. So reset object positions in the menu, saved and quit.
Now, when I go to the map in a custom game (or even in forge) the objects have moved as if someone had already pressed the button and set the scripts into action, even though no on has. Does anyone know why this is happening? I can't for the life of me figure it out and have been working at it for quite a while now.