Author Topic: Scripting help  (Read 1084 times)


  • Crewmate
  • *
  • Posts: 7
    • View Profile
Scripting help
« on: June 24, 2018, 10:18:57 pm »
I was attempting to figure out how to make a script that you could not activate again, and I made the following three scripts:
Set Flags:



Unfortunately, not only did this not work, my player was suddenly stuck in place (or moving in whatever way he was if moving).
Does anyone have suggestions for what is happening here?

Ally 🌠

  • Captain
  • *****
  • Posts: 1419
  • <3
    • View Profile
    • Ally 🌠
Re: Scripting help
« Reply #1 on: June 25, 2018, 10:56:40 pm »
thats a bug with the editor
if you press esc to exit playtesting while a script is loaded, controls lock

to get around this
press alt + enter to enter full screen, which should also flip viridian
press escape to get out of playtesting
place a trinket
enter playtesting
and collect the trinket
press z twice, not the normal once
you can delete the trinetk after

scripts cannot have capitals in them
or spaces if you needed to know
but this should work fine


  • Professor
  • ****
  • Posts: 182
  • Locked and Loaded.
    • View Profile
    • The open level project 2 forum
Re: Scripting help
« Reply #2 on: August 06, 2018, 12:00:51 pm »
Set Flags:

btw, if you plan on making an one-time trigger that only activates only once across the entire level, why bother making a script that set flag 1 off? Unless it's a developer script, there should be no reason why flag 1 need to be turned off. Setting flag 1 off will, basiclly reactivate the one-time trigger if you trigger it again.