| Mirage Source http://miragesource.net/forums/ |
|
| 3 questions http://miragesource.net/forums/viewtopic.php?f=201&t=1389 |
Page 1 of 11 |
| Author: | Ramsey [ Mon Feb 19, 2007 9:58 pm ] |
| Post subject: | 3 questions |
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? |
|
| Author: | Robin [ Mon Feb 19, 2007 10:01 pm ] |
| Post subject: | |
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. |
|
| Author: | Ramsey [ Mon Feb 19, 2007 11:16 pm ] |
| Post subject: | |
thx dude or dudet... |
|
| Author: | Lea [ Tue Feb 20, 2007 3:49 am ] |
| Post subject: | |
If a number is a byte, integer, or long, it won't have a decimal. Single, Double, and currency are the only ones that can do decimals I think. |
|
| Author: | Rian [ Tue Feb 20, 2007 5:04 am ] |
| Post subject: | |
What about a decimal? |
|
| Author: | wanai [ Mon May 23, 2022 1:14 am ] |
| Post subject: | Re: 3 questions |
VIII |
|
| Author: | wanai [ Mon May 23, 2022 1:15 am ] |
| Post subject: | Re: 3 questions |
165.2 |
|
| Author: | wanai [ Mon May 23, 2022 1:16 am ] |
| Post subject: | Re: 3 questions |
Unkn |
|
| Author: | wanai [ Mon May 23, 2022 1:17 am ] |
| Post subject: | Re: 3 questions |
pers |
|
| Author: | wanai [ Mon May 23, 2022 1:18 am ] |
| Post subject: | Re: 3 questions |
Elvi |
|
| Author: | wanai [ Mon May 23, 2022 1:20 am ] |
| Post subject: | Re: 3 questions |
XVII |
|
| Author: | wanai [ Mon May 23, 2022 1:21 am ] |
| Post subject: | Re: 3 questions |
Alex |
|
| Author: | wanai [ Mon May 23, 2022 1:22 am ] |
| Post subject: | Re: 3 questions |
Edit |
|
| Author: | wanai [ Mon May 23, 2022 1:23 am ] |
| Post subject: | Re: 3 questions |
Yoss |
|
| Author: | wanai [ Mon May 23, 2022 1:24 am ] |
| Post subject: | Re: 3 questions |
Symp |
|
| Author: | wanai [ Mon May 23, 2022 1:25 am ] |
| Post subject: | Re: 3 questions |
Anto |
|
| Author: | wanai [ Mon May 23, 2022 1:26 am ] |
| Post subject: | Re: 3 questions |
Thri |
|
| Author: | wanai [ Mon May 23, 2022 1:27 am ] |
| Post subject: | Re: 3 questions |
Kjel |
|
| Author: | wanai [ Mon May 23, 2022 1:29 am ] |
| Post subject: | Re: 3 questions |
XVII |
|
| Author: | wanai [ Mon May 23, 2022 1:30 am ] |
| Post subject: | Re: 3 questions |
Oslo |
|
| Author: | wanai [ Mon May 23, 2022 1:31 am ] |
| Post subject: | Re: 3 questions |
Nora |
|
| Author: | wanai [ Mon May 23, 2022 1:32 am ] |
| Post subject: | Re: 3 questions |
Tole |
|
| Page 1 of 11 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|