About Store Forum Documentation Contact



Post Reply 
Getting params from Chr
Author Message
ghreef Offline
Member

Post: #1
Getting params from Chr
I've been working on leveraging the "strength" parameter in the Chr.cpp file for my inventory. I've been having issues with this. Can anyone give me direction or guidance on how to pickup that parameter and use it? I tried putting a p_strength variable in the Chr.h file, but it seems, this doesnt clearly tell the program that I want the players strength. I get that mobs also use the Chr class as well, but I can't seem to get the player to single out this variable from Chr or any other files to get it. Any guidance or direction would be appreciated.

Thanks.
(This post was last modified: 07-25-2011 11:03 PM by ghreef.)
07-25-2011 10:56 PM
Find all posts by this user Quote this message in a reply
MikeyUchiha Offline
Member

Post: #2
RE: Getting params from Chr
If you use the Player.cpp file that should help.
07-25-2011 11:16 PM
Find all posts by this user Quote this message in a reply
ghreef Offline
Member

Post: #3
RE: Getting params from Chr
I've been working with that as well. I guess I'll keep plugging away. Thanks.
07-26-2011 03:53 AM
Find all posts by this user Quote this message in a reply
Post Reply