HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do i do this?

10-11-2003, 12:52 AM#1
Dark Alucard
...I have it so a hero can save his hero, and the code it says is a 2 part code, 1 is the Unit id, and the other is the Units EX x a number (i still havent decided yet) how can i make it be able to set Hero Xp to the second interger (obviously divided by watever i pick)
10-11-2003, 01:45 AM#2
ULTIMA_WEAPON_
Life sux? What? were u born without a penis? lol j/k umm... anyway, im working on the same problem as you, but all I know is that u have to use codes. I cant give you a jump to saving them though... Check this out.
10-11-2003, 01:50 AM#3
Dark Alucard
THE HELL? the world editor goes Crazy when i try 2 open it, do i need a patch or somethin?

BTW stope being such a :cuss: hole
10-11-2003, 01:52 AM#4
ULTIMA_WEAPON_
Hmm.... if it does this, then yes u probobly do need a patch, unfortunatly i dont know where to get it.... sorry i wasent any help emote_confused
10-11-2003, 02:28 AM#5
Dark Alucard
i though of a better way, but i need 2 know how i can make a boolean saying Entered String can be divisible by watever = True? also what dose a Matched String do and how can i use it?
10-11-2003, 04:46 AM#6
Newhydra
All you need to do is get the entered string and then do whatever math you want to the string, and validate it, then use the result as your exp...

And the function you're looking for is mod (eg 3mod4 is the remainder when 3 is divided by 4 which = 3; it's also writted as a % sign sometimes)