mob
var
Level = Strength + Stamina + Spirit
Strength = 1
Stamina = 1
Spirit = 1
It never Work how i do for make Level = Var1 + Var2 + Var3?? Can Someone help me i am newbie in codes.
Code:
mob It never Work how i do for make Level = Var1 + Var2 + Var3?? Can Someone help me i am newbie in codes. |
Nov 25 2012, 3:45 am
Best response
|
|
You need a constant value to set an initial value of a variable. Strength, Stamina and Spirit are not constants. What you could do is to set Level on the mob's New() proc.
|
Code:
Codes\Procs.dm:3:error: inconsistent indentation I got 4 errors i tryed witch your code but it dont work |