Internal Commands [I solved it!]

Started by Yolotroll101, February 18, 2018, 06:18:02 PM

Previous topic - Next topic

Yolotroll101

I am having issues with internal commands, I cant get gotoroom(x,x) to work. When i use it, i see a text box that doesn't even have the code i wrote in it, then i get warped... somewhere...
https://imgur.com/VTQVp9y - The area before
https://imgur.com/PtRQ4xN - walk through triggeres this
https://imgur.com/SD4kGDp - next room has a warp line on it, for entering this way makes it warp you
https://imgur.com/dWAhZNd - the actual warp
https://imgur.com/uS9yua8 - i end up here. :victoria:
If you could help me with this that would be nice. Here is a download in case you want to fix it for me:
http://www.mediafire.com/file/c231y7y2pbm0x6a/BBBBBB.vvvvvv
:viridian:

Yolotroll101

*reminder: it's not finished yet, so lel*

SteveGamer68

the scripting can be shortened if you ONLY use 1-line internal.
Code (internalscript) Select
gotoroom(arguments)
gotoroom usage:
gotoroom(x-1,y-1)
that means if you want to go to room 3,3 you input gotoroom(2,2)

DubstVne

Quote from: SteveGamer68 on February 19, 2018, 07:05:59 AM
the scripting can be shortened if you ONLY use 1-line internal.
Code (internalscript) Select
gotoroom(arguments)
gotoroom usage:
gotoroom(x-1,y-1)
that means if you want to go to room 3,3 you input gotoroom(2,2)
yes, because theres a 0,0 (or 1,1) And also VVVVVVs logic works differently than visuals. Dont ask me, I have no idea why.

Ally 🌠

Quote from: DubstVne on February 20, 2018, 11:11:27 PM
Quote from: SteveGamer68 on February 19, 2018, 07:05:59 AM
the scripting can be shortened if you ONLY use 1-line internal.
Code (internalscript) Select
gotoroom(arguments)
gotoroom usage:
gotoroom(x-1,y-1)
that means if you want to go to room 3,3 you input gotoroom(2,2)
yes, because theres a 0,0 (or 1,1) And also VVVVVVs logic works differently than visuals. Dont ask me, I have no idea why.
unnecessary reply
and theres no logic here
arrays start at 0, so an array with 20 items is 0-19
to make the editor more user friendly, terry just
arraynumber+1

Yolotroll101

#5
Quote from: SteveGamer68 on February 19, 2018, 07:05:59 AM
the scripting can be shortened if you ONLY use 1-line internal.
Code (internalscript) Select
gotoroom(arguments)
gotoroom usage:
gotoroom(x-1,y-1)
that means if you want to go to room 3,3 you input gotoroom(2,2)
Thanks! But, what about that random text box? :vitellary:

also, everything started bugging out. :verdigris:

Ally 🌠

we can't do anything without your code/scripts

Yolotroll101

#7
http://www.mediafire.com/file/fidfowmds5bvg54/BBBBBB%282%29.vvvvvv
link to unfinished map (the one im working on) the scripts are flagset1, warpflag, & warp. :viridian:
*this one has the semi-fixed code

*edit: also, i use VED.

Yolotroll101

Why hasn't anyone responded yet? :victoria:

Viridan

if there's one thing that's going to make you infamous on this forum, it's asking why nobody's responded to such-and-such. the community here isn't as active as it may seem, and they're usually too caught up in their own things to help debug some internal scripting.

Yolotroll101

I recently fixed the code, and I'm closing this post now. :P :viridian: