Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3 questions
#1
1. how do i make sure a number isn't a decimal?

2. does setplayerhp work for npcs?

3. does the .hp variable for an npc mean max or current?
Reply
#2
1. convert to an integer?

2. No. I think there may be a little sub somewhere for npc's, but you may need to set it manually.

3. Npc or MapNpc? If it's a mapnpc, then current, because the max is set by the npc preset, not the one being rendered on screen.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
thx dude or dudet...
Reply
#4
What about a decimal?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)