How would I make it so that when a player in my game gains 5 levels they get a new skill, which they get to name, and select the kind of beam you want to shoot, and they get to add what they want their player to say when they use it. the beam power will be their strength times 2, that is the damage the target will recieve. this will be for demon race and half demon race only in my game.
Can someone do an example of how to do it, I should be able to make kinds from the example. or if neone knows of a demo out there that I could use to do it that would be better.
ID:269734
Sep 27 2005, 9:33 am
|
|
Sep 27 2005, 10:41 am
|
|
Although this doesn't do exactly what you want it to, check this demo out to get started.
|
In response to Mecha Destroyer JD
|
|
no that wont work for me cause i want players to be able to name their own attack
|
In response to Reuben Corp
|
|
Reuben Corp wrote:
no that wont work for me cause i want players to be able to name their own attack Mecha Destroyer JD wrote: Although this doesn't do exactly what you want it to, check this demo out to get started. Duh...Look up input(). |
In response to Chrome Solider
|
|
i realise that he said that it doesnt exactly work like i wanted it but in truth its NOTHING like what i want, and im VERY new to the coding so even if i did look up INPUT() i still wouldnt be able to do it on my own thats why i asked for a DEMO, or for someone to post the code that i could change it to make the way i wanted.
|
In response to Reuben Corp
|
|
Using that demo and the input proc, you chaneg the name of the spell:
var/name = input("What to name the spell?") as text That simple. Looking input should have gave you SOME kind of idea. |
In response to Mecha Destroyer JD
|
|
Mecha Destroyer JD wrote:
Using that demo and the input proc, you chaneg the name of the spell: > var/name = input("What to name the spell?") as text That simple. Looking input should have gave you SOME kind of idea. that demo didnt give me any information on how to make an attack beam spell, I am VERY new to coding which I have said a little while ago, the only thing I am skilled at doing is editing code that I already have. which is exactly why I asked for someone to post the code so I could edit it the way I need it. |
In response to Reuben Corp
|
|
Reuben Corp wrote:
i realise that he said that it doesnt exactly work like i wanted it but in truth its NOTHING like what i want, and im VERY new to the coding so even if i did look up INPUT() i still wouldnt be able to do it on my own thats why i asked for a DEMO, or for someone to post the code that i could change it to make the way i wanted. The Code. |
In response to Sinoflife
|
|
SIN THAT EXPLAINS NOTHING..... I asked and EXPLAINED what i needed...
|
In response to Reuben Corp
|
|
Editing something the way you need it to work is not coding(Thats exactly what zeta rips are). Anyways, I'm sure it did give you some kind of info to get you in the right direction. You just need to to interpet it. If you are so new, why are you rushing to do more advanced things? You must work your way up.
|
In response to Reuben Corp
|
|
Reuben Corp wrote:
SIN THAT EXPLAINS NOTHING..... I asked and EXPLAINED what i needed... If you read it then, yes, it does explain something. |
In response to Reuben Corp
|
|
Reuben Corp wrote:
SIN THAT EXPLAINS NOTHING..... I asked and EXPLAINED what i needed... That explains "The Code" in great detail. Didn't your mother ever teach you to be careful what you ask for? |