[E] Lifebar Function

Post about what you like and dislike on AAO and suggest new features and improvements.

Moderator: EN - Forum Moderators

Post Reply
User avatar
Bad Player
Posts: 7228
Joined: Wed May 20, 2009 10:53 pm
Gender: Male
Spoken languages: American
Location: Under a bridge

[E] Lifebar Function

Post by Bad Player »

It'd be nice if there was a function that'd return the player's current life. It could just be f:life() or something.

(I'm assuming there isn't one because I didn't see it in this thread)
User avatar
Kroki
Admin
Posts: 7475
Joined: Fri Nov 23, 2007 10:05 pm
Spoken languages: Français, English, Español, 日本語
Contact:

Re: [E] Lifebar Function

Post by Kroki »

It'd be nice to have this kind of function for any possible action and value. Actually. \o/
I think and hope this is planned for v6.
ImageImage Image Image Image
User avatar
Unas
Admin / Site programmer
Posts: 8850
Joined: Tue Jul 10, 2007 4:43 pm
Gender: Male
Spoken languages: Français, English, Español
Contact:

Re: [E] Lifebar Function

Post by Unas »

Well, I thought I already had added a get_health function, but I just checked the code and it looks like I haven't o_o
Well, this one should be easy to add to V6.

Kroki : you mean variables which values would depend on how the user answered to the last action ? I might add that to V6 at some point, but probably not V6.0, as I have other priorities.
ImageImageImage
If knowledge can create problems, it is not through ignorance that we can solve them.
Si le savoir peut créer des problèmes, ce n'est pas l'ignorance qui les résoudra. ( Isaac Asimov )
Post Reply