• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Moving ground item?

Breed

Intermediate OT User
Joined
Jan 7, 2015
Messages
517
Reaction score
122
How would I move an existing ground tile in a direction without stepping on it or using a switch?

I'm not looking for you to write me a script just would like to know how this could be done.
Edit: I'm using tfs 1.0

bump
 
Last edited by a moderator:
Ground tiles are more or less permanent. You can transform them into something else though.
If it is an object you can do a couple different things to change/remove/edit. I guess we just need more information regarding what the issue your facing is so we can give some direction for you.
 
Lets say I had 2 black tiles and i wanted to move both of them over to the right or in the + x how would i move both of them without interacting with them?

Maybe that is too hard, how would i move / transform both tiles if in the + x if i stepped on another tile or used a switch?
 
Like this?

aPuwKCy.gif


Yes, there are many different ways to move a ground item.
 
Last edited:
The only thing I can think of is if he's trying to make a disco floor using white and black tiles. :D
Using globalevents and having it set on a timer.
 
The only thing I can think of is if he's trying to make a disco floor using white and black tiles. :D
Using globalevents and having it set on a timer.
That isn't what I'm trying to do but thanks for speculating, I think I have found a solution :)
 
Do you something like this.
Every 2 sec tile moves 1 positsion to right? Like a moving bridge.

Edit, grr so annoying to write in android freaking 'fixes' every word
 
Do you something like this.
Every 2 sec tile moves 1 positsion to right? Like a moving bridge.

Edit, grr so annoying to write in android freaking 'fixes' every word
Thats why i don't post on my phone, it is annoying.

Kinda like a moving bridge.
 
Well, im new to this scripting (2nd day), but i guess you can make this kind of script in event folder or whatever it was called. Script itself is easy to make, but finding the correct .xml file and correct function will be tricky. I Wonder is the global server save a. Lua file. If it is you could practically make the moving bridge then. Nothing comes into mind what else could be a script and starts working when server turned in.

Well that was my 2 cents, but now at least brighter minds understand what you trying to do.
 
I build a zelda like bridge already
bridge.gif


But having some issues with moving tiles.. I could always use portions of Limos moving boat script to accomplish the moving tiles.
 
Back
Top