I have a gate that's supposed to change position for each level, so it looks like this:
However, the sprite never changes position. Please help!when I receivenextlvl ▼iflevel=4go to x:1y:-116iflevel=8go to x:47y:-116
Offline
Flyboy wrote:
I have a gate that's supposed to change position for each level, so it looks like this:
However, the sprite never changes position. Please help!when I receivenextlvl ▼iflevel=4go to x:1y:-116iflevel=8go to x:47y:-116
Well, I think that this isn't a problem with the script above, but instead with your other scripts in your gate, so could I see them?
With regards,
ErnieParke
Offline
Yes.
whenclicked
hidewait1secsforeveriforlevel=8level=4showelsehideifnoty position<-115change y by-0.5lowers gate when not in use.when I receiverollup ▼raises the gate.ifandlevel=4y position<-115glide1secs to x:1y:17ifandlevel=8y position<-115glide1secs to x:47y:17
Offline
Flyboy wrote:
Yes.
whenclicked
hidewait1secsforeveriforlevel=8level=4showelsehideifnoty position<-115change y by-0.5lowers gate when not in use.when I receiverollup ▼raises the gate.ifandlevel=4y position<-115glide1secs to x:1y:17ifandlevel=8y position<-115glide1secs to x:47y:17
Just to make sure, when you say that the gate never changes position, does that mean that it never rises during levels 4 and 8? Or, does it never go to the right position at the beginning of levels 4 and 8?
With regards,
ErnieParke
Last edited by ErnieParke (2013-04-27 15:34:55)
Offline
Offline
Flyboy wrote:
It never goes to the right position.
Okay.
Anyway, are you sure that nextlvl is being broadcasted? Also, are you sure that the level is 4 or 8 when it should be?
With regards,
ErnieParke
Offline
Yeah, I'm pretty sure. Everything else changes at 4 and 8.
Offline
Flyboy wrote:
Yeah, I'm pretty sure. Everything else changes at 4 and 8.
Okay, I see.
If nextlvl is being broadcasted at the right time, then the script should flash when it's being broadcasted. So, do you see the script flash at the beginning of levels 4 and 8? Sorry if this seems a bit of a repetitive question for you, though I want to be 100% sure about this.
With regards,
ErnieParke
Offline
Offline
Flyboy wrote:
Yes.
I have two more questions. At the end of level 3, is the gate at (1, -116) ? Also, are you sure that you want it to go to (1, -116) and not another place?
With regards,
ErnieParke
Offline
Offline
Flyboy wrote:
No, and I'm sure I want it to go there.
Okay. I have one last final question. Are you sure that the gate is pointing in the right direction at the beginning of levels 4 and 8? Sometimes, a sprite's direction can effect it's position, which is why I'm asking.
With regards,
ErnieParke
Offline
Offline