![]() |
loggin' =)
ok ive been trying to make a logging system on my server... and im really close to getting it, but for some reason i cant get it lol, im trying to make it so you can unly use a certian weapon on it (axe), but when i seem to have it, i dont.... so can any one help me?
|
Be more specific..
|
ok here goes.....i am making a logging system for my server....i want to make it so when you "chop" at the tree with a weapon (d button use) lets say an axe, that it takes hp away from the tree....
i have it so you can take hp from the tree... and i have the weapon..... i just cant make it so oyu can only use that certian weapon on the tree to take its hp away |
First off you need to "Be more specific.." as Wan said.
Give us some details, like the ways you have tried it, what exactly isn't it doing, etc. Read below... "I'm trying to make this NPC that does this, but it's not doing it. Any help?" Doesn't help does it? EDIT: How are you taking the HP away from the tree? Do you have a messenger of some sort? |
to show the hp im using "message #v(this.npc)/250" 250 is how much health the tree has..... and i want the axe to be able to take away hp.....ive tried "if (hasweapon && keydown(7)" but that didnt work X . x
yahoo= zakusonu AIM =zakusonuu XD im on both |
In the weaponscript, use triggeraction.
In the tree npc, only take hp away if it was triggered. |
Wow I think even my own ****let skills can do this. Offline anyway.
What are you having the axe do? Just pressing a special key with a gani or triggeraction whatever? |
yeah im having it be a gani......equip it in your items (Q) and then press (D) to use it
|
I'm not the most professional scripter or anything but couldnt you have it trigger an action then have the tree pick it up, lose hp, etc?
|
Quote:
|
ok teach me triggeraction...because i tried...and i thaught i new how... but i dont X . x
|
Quote:
Ehh...Look for a scripting tutorial. |
taken from newfeatures2001.txt
Quote:
|
Quote:
|
ok thx for your help guys XD
|
| All times are GMT +2. The time now is 12:29 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.