![]() |
How do I make items that heal health?
I need an item NPC that becomes an item, and when you use it, it heals 3 hearts then is destroyed, and you can only have one at a time.
|
Read the rules.
|
Why is the topic asking for this and then the post itself demanding for this?
Read Kai's post. :p |
x-x why don't you just answer his question
|
Quote:
|
Quote:
I am sure there are tutorials or something that he could be directed to. I dont see why simple scripts cannot be given :\ |
you want to have an NPC with the event "playertouchsme"
then you probably want to add a healing weapon to the player using the "addweapon" command this will be really hard to do if you can't understand basic scripting yet, I didn't learn from any documents besides commands.rtf so I can't say what things would be helpful to read |
Quote:
Quote:
However, I do agree with the rule. Giving scripts - simple or otherwise - encourages people to get lazy and stop thinking for themselves. More likely than not, they will simply copy the script into their levels without stopping to understand why it works. This is a Bad Attitude. Forcing people to solve problems by themselves leads to them learning, and being able to fend for themselves in the future. Even if it seems harsh, it is for the best in the long-term. In any case, he didn't even give us enough information to definitively answer his question. He was ambiguous. Items on GK are different to items on 2K1 are different to items on Classic, etc. And does the relevant environment have a custom HP system? At the very least, he should learn to ask questions in a concise, unequivocal manner. |
Quote:
as an addition to Evil_Trunks' post, look up the 'playerhearts' variable, and remember to check if the player's AP is above 40, before healing them. (I can't remember if the check is already done for you if the heart manipulation is done clientside or not) Quote:
Quote:
|
You can't just assume they won't look at it and will just copy it. When I asked for help, the few times I got it :/, I looked to see what I did wrong, and then constantly made sure to do that in new scripts. that's just me, but I am sure that people are more apt to do this than you think.
|
Quote:
|
I will refuse to come back to that with fierce insults because I am not like that. What would be good however is if you dont assume the worst of everyone.
|
Quote:
The solution to that is to give the person hints as to how he can make it, instead of giving the entire script. That way, the rules will remain enforced, and the person who is requesting help, will get what he is requesting. |
It is fairly basic scripting, and everyone must start somewhere, and not everyone is sure where to start.
What of all the scripts Stefan has posted to help people become more advanced with newer gscript additions? Should Stefan also Adhire to the rules of not posting full scripts, and leave his documents and script to himself? Where would you be without those? Asking for help, unless you were a part of designing it, or just somehow knew all the commands before they were finished. First he has not really said if he is using this offline or online, That would have helped a bit in giving him more help, however I assume he would like to use it online. NPC Code: You just need to add the weapon to yourself with a simple addweapon line, you can use whatever means you find neccessary to do this, however I did it like so. NPC Code: Simple Barebones 1 use Healing item to heal 3 hearts, you can only have one at a time, but you can always go back for more. |
Goodjob Andy, I'm glad that someone was decent enough to help the guy out with a simple question.
Kaimetsu, we know that you are a l33t7!1oneone scripter but you don't own gscript and your ideal way of teaching gscript to people is less than fantastic. |
By the way, I learned to script from the Copy+Paste method. Although, unlike most newbie scripters today, I had an extra step called Experiment. I found whole scripts, put them in the editor, and played around with the script until I broke it or made something really cool. Most people today just use the script they find and never really try to learn something from it.
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
I should direct you to several posts where you have closed them with "Read the rules." |
Quote:
|
Quote:
|
Quote:
Perhaps you should examine the wording of his post. |
Quote:
|
Quote:
|
Quote:
|
Quote:
Say i was eager to use the RC Item he posted, had he not posted, would many people have had a way to do it alone? I am just saying, Stefan has helped solve a lot of problems by posting his code, I am not criticizing the rule, but bringing it into a diffrent perspective. |
Quote:
Quote:
|
I agree with both sides of this to an extent.
I myself need help with scripting a lot, but I always TRY to do it myself, and then go for help if I am totally clueless as how to achieve the effect I want. However, the script this person is asking for, is simple functions that I'm sure even someone who has never scripted before could figure out just by reading the commands. Theres a huge difference between "GUYS CAN I PLZ HAVE THIS SCRIPT I DONT KNOW HOW 2 DO IT" and "Here's what I've tried so far, and none of this seems to be working, can someone explain to me what I need to add, or what I'm doing wrong" You can learn a lot by cuting and pasting code, but only if you understand what the code your pasting is doing. Whenever someone helps me, I normally as them what they did to make it work if I can't figure it out myself by looking at their changes. |
Quote:
Quote:
On the other side of that coin, how many times have people asked "When will the scripted RC be done?" Quote:
Hey if you cant point out to me where I said "Stefan breaks the NPC forum rules" then I will be glad to apologize, but the problem is, you wont find where I said that, because I didnt. |
Quote:
Quote:
|
Quote:
Quote:
At any rate, I really dont want to argue the issue, I would just like some people to be more helpful, or just not post. Back seat moderating isn't needed. |
Quote:
How did you ever become moderator? Stephane needs to remove you for being a hopeless hypocrite. Your moderation style is a lot worse and more rude than Kaimetsu's (completely justified and appropriate) post, and combined with this post of yours shows that you really lack any respect you should have for Graalians. Quote:
Then you come into this forum and make it sound as if it all was about tutorials, downplaying all the effort people have put into scripting over the years. Why do you not make an announcement, link to the tutorials you are speaking of, and close this forum once and for all to prevent people from trying to sensibly discuss scripting? Quote:
Quote:
|
Quote:
Quote:
Quote:
Quote:
As Kaimetsu has already explained, posting full scripts to answer people's questions about scripting will not help them learn. Providing them with guidance, explanations, and examples of commands will. Spoonfeeding people a full script just doesn't help them. Quote:
|
Quote:
I said what my statement implyed was a rhetorical question, I will remember from now on to use my tags [rhetorical] and [/rhetorical] when no direct answer is needed. However I still do not see how that says that I claimed Stefan broke forum rules, I think it was just taken out of context. If you wanted to pick at all my text for awhile, im sure you could come up with something like Quote:
Edit: Quote:
Also I guess I seem to have missed your post where you said I should not have given a full script to someone who would like to learn, I ask again, why? It seems like the most dominate way for a new person to learn, is by example, giving him a small example to work from seems like it would be ok, who are you to say he will just "copy+paste" the code and never look at it again. Edit2: Quote:
"according to you he is breaking the rules" I ask again, please show me where I explicitly state this, and I will stop posting about it. |
Quote:
You said: "Should Stefan also Adhire to the rules of not posting full scripts, and leave his documents and script to himself?" You could rephrase your question like this: "If Stefan followed the rules he would not post his scripts/documents." That's the same as saying: "If Stefan posted his scripts/documents he would be breaking the rules." Since Stefan has posted these scripts/documents, according to you he is breaking the rules. |
Quote:
Quote:
[EDIT] Didn't read the rest of the posts before I posted this, Evil_Trunks seems to have replied to the quote about Stefan breaking the rules already.[/EDIT] |
Quote:
Quote:
Quote:
Quote:
I would like to sum it up diffrently incase you still do not get it, I was simply asking a question which didnt require any real kind of answer. The kid who started this thread needed some help, I gave him his help. Mabye not many people start threads asking "Stefan help me plz!", but he still gives help, lets say this help were no longer given, people would be putting more effort into figuring something out that Stefan could have assisted them with. I was simply pointing out a diffrent way of looking at the situation, since in both instances, help is given via a code, be this code "Made to show off" or "Made to help" either offers assistance, and either can be copy+pasted just as quickly as the other. I dont think copy+paste really cares about catagory. |
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Sorry about the off topicness but I can't believe I started all this. anyway... I tried
sethearts full and sethearts 3 but I can't do it. |
| All times are GMT +2. The time now is 06:53 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.