Profile image

Variables don't work

411 AgentFox123  2.0 years ago

I've been working on a flight simulator-esque aircraft, two of them specifically. for instance, I have a custom input(ArrestHook) set to a switch in the cockpit and the exact same thing written in the arresting hook(No difference in case or spelling) but even when I declare it in the variables option, the console's output shows
"Name not defined: ArrestHook"
same goes with parachutes. do the parachutes and arresting hooks only support stock inputs instead of custom inputs? If not, how do I put custom variables in those parts?

  • Log in to leave a comment
  • Profile image

    @KDnotSpy I put up a new variable, named "HookActivator" as you said, plugged ArrestHook in the Expression side, if that's what you meant, then plugged "HookActivator" into the switch and "ArrestHook" into the arresting hook, from what you described, but it still didn't work

    2.0 years ago
  • Profile image

    @AgentFox123 The "X" right next to the XML editor

    2.0 years ago
  • Profile image

    @Phoebe input? I plugged a custom name into a switch

    2.0 years ago
  • Profile image

    @KDnotSpy to do that where? in the variables input?

    2.0 years ago
  • Profile image

    1st Did you set the "interactionType" of the switch to "Toggle"?
    2nd You probably need to do this
    "HookActivator"|"ArrestHook"
    ^Switch -------------^Landing Hook

    2.0 years ago