![]() |
If you cant see it it cant be there...
If you cant see it it cant be there, at least thats what it looks like...
I'm trying to make a hole in the ground, BUT your not sapost to go down from the top, so to stop people from going down there i put an invisable block, but it wont work. this is my script for the block: PHP Code:
|
I give up.
|
Quote:
|
No. Because you have the online opportunities that aren't available to every newbie scripter who wants to be good. I don't understand why you don't utilize them to learn a better twice as efficient language, aptly GS2.
|
If you want an invisible block why not use setshape?
|
Perhaps it's better if you do give up. It's his/her choice to either learn GS1 or GS2, and really not something that needs to be argued every single time they make a post. It's kind of tiresome.
Edit: ya, setshape seems the best option. setshape 1,widthinpixels,heightinpixels; |
You do realize that what script you posted will move the npc up 0.1 tiles everytime you call "created", right?
|
"Created" will only be called when the NPC is created(unless manually called), and it's y placement will be reset to it's original placement when it's created, so it's not like it's going to keep moving.
|
You don't know that...If it was a database npc, the position would not be reset.
|
Quote:
PHP Code:
|
the setshape would have to be clientside to block, no?
unless this is offline.. |
From what I recall, setshape is serverside, to set the block for all players.
|
setShape() is independent on the clientside and serverside. Its required on both sides for use with triggerAction()
And like Stan said, you really need to learn to use GS2 if you have the online access. GS1 has much less logic to it. |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 12:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.