![]() |
Help making a chest like npc.
I can't seem to figure out how to make my npc function like a chest that gives you the gold sword. this is what I'v come up with so far:
NPC Code:// NPC made by Pants Thanks for your help I'm very new to this. I also have it glowing so I want to make it stop glowing when It gives up the gold sword. Heres the script for the glow: NPC Code:// NPC made by Stefan Knorr |
Uhh, are you developing this off line or online?
PS: this is in the wrong forum =o |
Quote:
Offline and what do you mean wrong fourm? I'm prety sure this is the gs2. |
AFABHSGJBOGSBGDSGSD
THIS IS THE GS2. TWO. TWO Forums. What's with everyone doing GS1? It's so inneficient. :( |
Quote:
|
Quote:
PHP Code:
E: You should take the time to read the wiki. You can learn alot of things and it shows you differences between GS1 and GS2. Also, GS2 you cannot use offline. You can only use Gs1 in the editor thanks. :] -> http://wiki.graal.net and http://wiki.graal.us for your use in learning. God speed. |
Quote:
it may be 'innefficient' but scripting is like languages, english (or others) is your first, you struggle abit with your second (gs1) and you dont give a damn about your 3rd (gs2) |
Quote:
It's not a weapon though. It's the fourth sword right after lizerd |
Quote:
player.swordimg = "Blah"; I think that's the correct syntaxing. |
GS2 doesn't work offline.
|
Quote:
|
Quote:
|
Gani's and parameters :)
Make a gani of a closed chest. Make a gani of the chest opening with the item raising out of it, and the item being set by a parameter and make this gani setbackto the opened chest gani. Make a gani of the opened chest. And as far as gs1/2 goes... you posted in the gs2 forums but posted a gs1 script. For setting the sword power there's a command for it, PHP Code:
As for the chest code itself... in GS1 with gani's it'd be something like: PHP Code:
|
| All times are GMT +2. The time now is 10:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.