ID:163811
 
Right, So heres the concept, Dunno if its possible, But here I am to ask. I want for example, To know if say.. A boat, 20 tiles big was made, And people could walk onto this boat, How could I make the boat move. And when the boat does, So do the people on board. Without having them controlling it, (Setting Path with AI would be ideal) Dunno if this is too advance for byond. It may not be, But it would be interesting if it was possible, Leave your ideas, Thoughts Maybe even code to how you think it could work, (Even library's I may have missed) Thanks in Advance - Keiron
Keiron wrote:
Right, So heres the concept, Dunno if its possible, But here I am to ask. I want for example, To know if say.. A boat, 20 tiles big was made, And people could walk onto this boat, How could I make the boat move. And when the boat does, So do the people on board. Without having them controlling it, (Setting Path with AI would be ideal) Dunno if this is too advance for byond. It may not be, But it would be interesting if it was possible, Leave your ideas, Thoughts Maybe even code to how you think it could work, (Even library's I may have missed) Thanks in Advance - Keiron

This is totally possible for BYOND. All you really need to do is define the controls of the boat, and when the boat deck moves, move all of the objects on top of the boat deck with it in the same way. Here is a simple example of an object being able to move another.

obj/deck
Move(turf/newloc)
. = ..()
if(.) // move objects only when the deck has successfully moved itself
for(var/obj/O in src.loc)
if(O == src) continue
O.Move(newloc) // move all objects except itself to the same location as the deck


You can make a big boat by just lining all of these deck objects all around, and having one boat controller control the deck objects and follow a given path.

Also check out Garthor's Quasiturf library, as it has a pretty neat implementation in its demo of platforms similar to what you are asking for.
In response to Unknown Person
Thank you very much ^_^ (Looking at the demo, Hell alot of code xD) But I'll work with it, For the effect it can give it will be well worth it ^_^ Thanks mucho - Keiron

--Edit--
Oh, One other thing, How Can I say make it move to... 10,20,3 For example, Then when it gets there, Move to.. 30,40,3