leveling up

Game Editor comments and discussion.

leveling up

Postby Fabiomafia1298 » Wed Jun 06, 2007 11:25 pm

can someone make me a demo on how to make a character level up? i can think up of half the process so far, but cant think of the rest. all i can think of is making two text acters, one with 0 and one with the xp requirement. ad then i can add a trigger for certain enemys to add that much to the 0. but how can i get the damage to a weapons increased when the 0 passes the requirement?
Fabiomafia1298
 
Posts: 11
Joined: Fri Jun 01, 2007 12:28 am
Score: 0 Give a positive score

Re: leveling up

Postby Asurai » Thu Jun 07, 2007 12:09 am

Fabiomafia1298 wrote:can someone make me a demo on how to make a character level up? i can think up of half the process so far, but cant think of the rest. all i can think of is making two text acters, one with 0 and one with the xp requirement. ad then i can add a trigger for certain enemys to add that much to the 0. but how can i get the damage to a weapons increased when the 0 passes the requirement?

in the action where daamge is given instead of
damage=whatever formula
put
if (variable==1) /where variable is the level
{
damage=whatever formula+1
}
an example of a damage action
if (variable==0)
{
damage=round(rand(10))
}
if (variable==1)
{
damage=round(rand(10)+1)
}
Asurai
 
Posts: 4
Joined: Tue Jun 05, 2007 2:43 am
Score: 0 Give a positive score

Postby Fabiomafia1298 » Thu Jun 07, 2007 2:26 am

aight thanks
Fabiomafia1298
 
Posts: 11
Joined: Fri Jun 01, 2007 12:28 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron