[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
NoX Forum • View topic - Digit Counter

Digit Counter

Post all your awesome maps here.

Digit Counter

Postby kitty » Tue Dec 11, 2018 8:17 pm

Created a basic kill counter in Nox Script 3.0, feel free to use:
- Does not require Unimod or patch files
- Max value: 9999
- Open Digits.ns to see code
- - Usage: HandleDigits(123);
- - Requires: 5 named waypoints

Image
Attachments
Digits.zip
Digit Counter Map Files
(274.38 KiB) Downloaded 678 times
User avatar
kitty
Apprentice
Apprentice
Posts: 57
Joined: Thu May 25, 2017 3:02 am

Re: Digit Counter

Postby panic » Sun Dec 23, 2018 11:50 am

panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: Digit Counter

Postby panic » Sun Dec 23, 2018 11:51 am

result:
Attachments
numbering.png
numbering.png (377.61 KiB) Viewed 11494 times
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: Digit Counter

Postby panic » Sun Dec 23, 2018 11:56 am

StopScript code can ignore all data types

int ToInt(float x)
{
StopScript(x);
}

float ToFloat(int x)
{
StopScript(x);
}
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: Digit Counter

Postby kitty » Sun Dec 23, 2018 11:22 pm

Thank you for the code panic! Your code is definitely much cleaner than mine! Also good to have for a visually horizontal counter.

A+!
User avatar
kitty
Apprentice
Apprentice
Posts: 57
Joined: Thu May 25, 2017 3:02 am

Re: Digit Counter

Postby panic » Mon Dec 24, 2018 12:20 am

did you use another program for make number form?

or make by hand?
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: Digit Counter

Postby panic » Mon Dec 24, 2018 12:26 am

as another issue, 'WhiteMoveOrb' will does destroyed when out the sight. so i recommend using 'ManaBombOrb' instead of it.
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: Digit Counter

Postby kitty » Mon Dec 24, 2018 5:23 am

User avatar
kitty
Apprentice
Apprentice
Posts: 57
Joined: Thu May 25, 2017 3:02 am


Return to Maps

Who is online

Users browsing this forum: No registered users and 6 guests