![]() |
setshape2 problem- no effect on water
I made this script to test the effect on water like a boat, I read that '0' would be treated as land but when I tested it offline, it was treated as nothing. I also used 3 like a chair in the water but nothing happened. This stuff worked on land though !pissed! I need someone to tell me my error. Maybe its a syntax error..?
PHP Code:
|
Try adding blockagain;
|
AFAIK theres no error, you need to attach the player to the object in order to make it work right
from my experience same thing is if you want to make a non blocking object over a wall, the wall will block even if you set the shape to a non-blocking tile. You need to attach the player to the npc hi contiga :p |
I was always under the impression that 0 in setshape2 was just a "dontblock;" tile...
|
hi sheepy :p
Yes, you are correct, use attachtoobj #v(id); I believe.. not used to that command. |
Quote:
u need to attach the player to the npc(obj) to make it overwrite the block of the wall =/ |
Quote:
|
well, I am trieing to make a couch that you can move around and sit on but how can I make it be a normal couch when I have attach the player to the couch x.x
PHP Code:
|
You don't have to use attachplayertoobj, unless you are planning on having a couch that is floating in the water, or on a bunch of blocking tiles.
|
Well, the couch will be on normal unblocking tiles but I need some of the couch to block you.
PHP Code:
|
as apothi already said, you dont need to attach the player if u dont plan on:
a) put the couch on water or a wall b) put the couch over blocking level tiles c) want players to move with the couch |
Quote:
|
not correct
water is a non-blocking tile too but you need to attach the player to make him sit on a couch on water |
Quote:
|
but I tried the couch and it didnt work (it was on plain grass land)
|
If you want the couch to block you... Remove 'dontblock;'...
|
aw crap I cant believe I had dont block -_- I feel so stupid right now....
Thanks guys=] |
PHP Code:
|
Quote:
PHP Code:
|
Quote:
|
| All times are GMT +2. The time now is 09:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.