Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
not anything hard.. but im to dumb to figure out :/
not anything hard.. but im to dumb to figure out :/
11-26-2003, 02:45 PM
#1
chemo
well here is my problem...
i need a give gold and give lumber option in my map...
but how do i make them ???
it has to so u can press anu number from 1 to 999 without typing: 005 gold, to give 5 gold..
any one who wants to help me on this ?
11-26-2003, 03:31 PM
#2
Vexorian
use give gold <quantity>
then use substring from 1 to 9 equal to give gold then
to get the value of gold use Convert String to integer Substring from 11 to 3000
(pseudo code since I don't remember these stuff well)
11-26-2003, 03:39 PM
#3
chemo
dont any body have an exact tutorial ?
that would be very helpfull :D
11-26-2003, 03:59 PM
#4
Hunter0000
I'm pretty sure there is that system allready done in the trigger repository