say that i wana do somthing like..this:
mob/proc/whatever()
src.p+=src.lp
if(src.p>=30)
src.p=30
src.lp=Whatever_is_left
see i want it like if p goes over thirty, i dont want lp to go to zero, i want to what ever numbers went over 'p' be left, i remember seeing a demo of somthing like this but i cant remember what its called.
ID:175762
Mar 13 2003, 1:06 pm
|
|
In response to Garthor
|
|
Garthor wrote:
if(src.p >= 30) hey cool, neaver thought of doing it like that :-) |
src.lp = src.p - 30
src.p = 30