IronNoob

Please login or register.

Login with username, password and session length
Advanced search  

News:

Migrated to dedicated hosting. Post any weirdness you observe in the Lounge.

Author Topic: Generic Stat System  (Read 212 times)

0 Members and 1 Guest are viewing this topic.

Solotaire

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 529
    • View Profile
Generic Stat System
« on: January 06, 2013, 07:42:15 am »

Due to sudden activity outside of ROBLOX, I haven't gotten much time to look at fixing up my code. I believe there is something not set up properly around my 'setStat' function, but it should be easily fixed. I also made some generic Global Functions that can be adapted for a wide range of stat boosts.

Script One: Player Handler/Setting Up Stats
http://pastebin.com/kDBy0x62

Script Two: Some Global Functions
http://pastebin.com/mTT5XZWp

Script Three: Example Weapon (Woodcutting)
http://pastebin.com/dcc7SR4j

Feel free to take it/comment on how bad I am/etc. I could use some feedback on what to do to improve my formatting and code structure, if you have the time.
Logged
That information is above your security clearance, citizen.
 

Page created in 0.046 seconds with 22 queries.