![]() |
Dissapearence.
I am not a scripter, however I get by. I just need help on one little thing. This is for a level not an npc. I need a script or I would like a script, that would make a graphic disappear, when I say /off and re-appear when I say /on. Can anyone help me?
|
hide() makes an image disappear, show() makes it reappear. To read a player's chat you would do
if (player.chat == "stuffHere"), so in your case: PHP Code:
But if you're doing it in the offline editor then you won't be able to use GS2. Either way, you might have to play with it a bit so that it doesn't just hide for you but it hides for everyone else as well. There are block-type stuff posted around this section of the forums that already does similar things to what you want, just use the search function and search for hide() or dontBlock()/blockAgain() since it's similar concepts. |
Do you think you could give me gs1, so I could use in editor?
|
I think this should work.. eww gs1..
PHP Code:
|
Gs1 looks so much easier and simpler to follow.
|
Quote:
|
If this is a block you might want to take interest in setshape, or else players can just manipulate the images to bypass the blocks.
|
Nah its a tv.
|
Sigh,
If Kaimetsu was here he'd be throwing around the ban hammer. When was it okay to just script something for someone? Isn't it our responsibility to help people learn rather than just do it for them? |
Quote:
"Pretend you love everyone" that's it |
Quote:
I don't know how you'd really explain this. "Look up strequals()"? That's not very helpful. |
Quote:
besides, Gambet very well explained how the script worked. fowlplay simply converted it into gs1. I don't see the problem here.. |
Quote:
|
Quote:
|
Quote:
However, the point stands that this would be one of those slippery-slope scenarios. If this is okay, why wouldn't the next be? What if it's 10 very simple posts, or 50? The problem is it seems like most people who posts for these scripts have absolutely no interest in learning and just want to use this section to get whatever scripts they want/need. Some people are willing to help, some art not. The problem is when the small request here and there end up giving the impression it's okay, and everyone starts doing it. |
Quote:
|
|
I have no problem in helping people with their scripts, but that assumes they actually tried making it on their own first.
|
Quote:
|
Quote:
Quote:
|
honestly the wiki is too confusing for just anyone to go on it and learn how to script. it acts as if you already know the basics to scripting beforehand, and doesn't go in depth as to why such functions work or why using one command is better than the other. it doesn't tell you where to start when making a NPC, and it hardly describes all the functions and scripts i have seen being used. it's fractured, and asking on the forums for an answer is easier and quicker than looking at the wiki and "hoping" it works
i mean, you can't even test out much GS2 to see if you even did it correctly assuming you did learn it from the wiki. are people forced to post threads of "DID I DO THIS RIGHT?" instead of "HOW DO I DO THIS RIGHT?" when they are essentially the same thing? |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 01:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.