![]() |
Help!
ok i need help with something
how do i make like a bridge in the dustari castle when u say bridge down it coems down and u can walk over water?? |
thats what i wanna know
|
here:
NPC Code: dont know if they work just made em up on here ... they should ... |
*laughs*
I was trying to solve this one a while ago as well. I never really did. But using attachplayer seems to be in order. but im prabably just going way overboard. |
Quote:
|
Quote:
|
Quote:
|
me haev one of moving just that u cant walk oevr water
|
Use setshape
|
attachpplayertoobj id,type;
use move to move the bridge and use setshape2 to define walls. |
I was right.
attachplayer was in order! |
attachplayertoobj;
ok.
i suggest, as rogue that you use attachplayertoobj, i used it on my boat, and its fairly simple. all you have to do is make sure to set the shape, and than at the end have like a blocking time and than. NPC Code: i love attachplayertoobj... |
Use a bridge gif, and then to keep you from falling off the edge when walking acorss you can change all of the side tiles to tiles that block, then change them back to the original tiles when you are done. It's that simple, if you know how to update tiles, but if you don't, here it is
board[x*y]=tilesx*tilesy; updateboard x,y,updatex,updatey; Do that for all of the tiles and save the original tiles in a this. string to call them up later on. |
what would be really cool is to liki have the tiles sorta fly accross the screen making the bridge ... that would be kool ...
|
Quote:
NPC Code:board[x+y*64] = tilesx+tilesy*16; |
All times are GMT +2. The time now is 08:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.