Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
-spawn in the ON/OFF button
-spawn the protection zone and create a script zone over it
-save then load the table
-copy the GUID of the script zone and edit the code of the ON/OFF button
Am I missing something ? I don't know what I'm missing or if I forgot a step. Any help would be appreciated!
Player[c].changeColor("Grey")
--after the line that says
broadcastToColor("You are not permitted to pick up objects in this zone.", color, {0.9,0.2,0.2})
I don't have it open to check ot see if it passes the zone information for the color zone they were trying to take it from.
This one sends a message to just the player. It looks like this:
broadcastToColor("You are not permitted to pick up objects in this zone.", color, {0.9,0.2,0.2})
You could change that to broadcast a message to everyone if you like.
As for going fast enough, it has to do with the load time for the item when it comes into existance. I could use the same solution I just mentioned, but then if someone was doing "search crime" it would delete stuff, which I prefer not to do. I'd rather leave the small loophole that forces someone to obviously and violently cheat (like you can see the msearching your bag). I think of this as more "casual cheating protection"
Try making a taller scripting zone. Does that solve it? Also, not sure about the error. Myabe onObjectPickedUp is indeed getting called by the script, in which case, WEIRD. I'll make a note to look at it. If that is the case, then I should be able to put in an exception to prevent that error.
1. U can flick it, so just disable flicking ;p
2. If you raise the object (By pressing R) over the scripted zone, u can grab it, so u would just need to raise the scripted zone itself :)
Its a great mod! And good job man!