Author Topic: Delay internal script while Viridian can still control himself  (Read 3061 times)

EpicCreeper9001

  • Doctor
  • ***
  • Posts: 55
    • View Profile
Delay internal script while Viridian can still control himself
« on: January 26, 2016, 11:39:30 pm »
Hi, I'm looking for a way to delay an internal script while the player can still be controlled.

For example, a message says "Teleporting..." and Viridian can move for 3 seconds before being sent to another room. Thanks in advance!

Ally 🌠

  • Captain
  • *****
  • Posts: 1419
  • <3
    • View Profile
    • Ally 🌠
Re: Delay internal script while Viridian can still control himself
« Reply #1 on: January 27, 2016, 12:31:20 am »
hascontrol()
I think that works.
If it doesn't, use a million flags

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2187
    • View Profile
    • The Open Level Project
Re: Delay internal script while Viridian can still control himself
« Reply #2 on: January 27, 2016, 02:10:26 am »
IIRC hascontrol() only works to undo nocontrol(), so that wouldn't work.

EpicCreeper9001

  • Doctor
  • ***
  • Posts: 55
    • View Profile
Er: Defray infernal scrap wheel Cyan Han stilts Contra selfhim
« Reply #3 on: January 28, 2016, 12:06:41 am »
hascontrol()
I think that works.
If it doesn't, use a million flags

As Dav said, hascontrol() won't work. Also, there are only 100 flags (also, a few of them are glitched) and I'll be planning to do this multiple times in my ERROR 418: What teapot secret project? I have no idea what you're talking about...

moth 🦋

  • Captain
  • *****
  • Posts: 1561
  • Welcome to the MOTHER3 world
    • View Profile
How much time do you take to change these?
« Reply #4 on: January 28, 2016, 12:18:30 am »
Looking forward to your teapot secret project.

Ally 🌠

  • Captain
  • *****
  • Posts: 1419
  • <3
    • View Profile
    • Ally 🌠
Re: Er: Defray infernal scrap wheel Cyan Han stilts Contra selfhim
« Reply #5 on: January 28, 2016, 11:52:45 am »
hascontrol()
I think that works.
If it doesn't, use a million flags

As Dav said, hascontrol() won't work. Also, there are only 100 flags (also, a few of them are glitched) and I'll be planning to do this multiple times in my ERROR 418: What teapot secret project? I have no idea what you're talking about...
I know there is 100 flags.
101 if you count flag 101, that stays active even if you reset/restart.

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2187
    • View Profile
    • The Open Level Project
Re: Er: Defray infernal scrap wheel Cyan Han stilts Contra selfhim
« Reply #6 on: January 28, 2016, 01:15:13 pm »
101 if you count flag 101, that stays active even if you reset/restart.
???

allison

  • Captain
  • *****
  • Posts: 929
  • monolithic since 2012??
    • View Profile
    • Allison Fleischer
Re: Delay internal script while Viridian can still control himself
« Reply #7 on: January 28, 2016, 02:55:17 pm »
Flags outside of normal range are kept for the whole play session, even if the level is exited. However, setting them may also have unexpected effects.

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2187
    • View Profile
    • The Open Level Project
Re: Delay internal script while Viridian can still control himself
« Reply #8 on: January 28, 2016, 05:03:56 pm »
Oh, I thought he was talking about flags actually being saved in a save file and keeping that after restarting VVVVVV.

allison

  • Captain
  • *****
  • Posts: 929
  • monolithic since 2012??
    • View Profile
    • Allison Fleischer
Re: Delay internal script while Viridian can still control himself
« Reply #9 on: January 28, 2016, 06:34:36 pm »
That'd be cool, you'd be able to do Undertale-style weirdness.

Ally 🌠

  • Captain
  • *****
  • Posts: 1419
  • <3
    • View Profile
    • Ally 🌠
Re: Delay internal script while Viridian can still control himself
« Reply #10 on: January 28, 2016, 11:53:36 pm »
That'd be cool, you'd be able to do Undertale-style weirdness.
VUNDERTA-dammit Vultaix

Vultarix

  • Captain
  • *****
  • Posts: 681
    • View Profile
Re: Delay internal script while Viridian can still control himself
« Reply #11 on: January 29, 2016, 12:33:08 am »
Hee hee hee... who's calling my name and why?

Ally 🌠

  • Captain
  • *****
  • Posts: 1419
  • <3
    • View Profile
    • Ally 🌠
Re: Delay internal script while Viridian can still control himself
« Reply #12 on: January 29, 2016, 12:00:33 pm »
Hee hee hee... who's calling my name and why?
I wanted to make a vundertale VVVVVV level
now just gonna make UUUUUUndertale

EpicCreeper9001

  • Doctor
  • ***
  • Posts: 55
    • View Profile
Underfail
« Reply #13 on: January 29, 2016, 12:29:40 pm »
Hi, I'm looking for a way to delay an internal script while the player can still be controlled.

For example, a message says "Teleporting..." and Viridian can move for 3 seconds before being sent to another room. Thanks in advance!