| 05-02-2008, 11:00 AM | #1 |
So i made a trigger for winning in my map that needs to make 80 lumber but i want to make it a selectable number not only 80. i'm alittle stuck on the how to get the substrings = number so i don't know how .P.S. 10x in advance |
| 05-02-2008, 05:29 PM | #3 |
just one thing (Substring(tmpstr, (Integer A), (Integer A))) Equal to whats it equal to? |
| 05-02-2008, 06:04 PM | #4 |
a white space " " |
| 05-03-2008, 09:30 AM | #5 |
| 05-03-2008, 10:02 AM | #6 |
Add to Deaod's trigger (in the end) this: and remove existing event in "Win". |
| 05-03-2008, 10:24 AM | #7 |
i can't find Lumber :( |
| 05-03-2008, 11:04 AM | #8 |
"Lumber" is integer variable (if you still don't created it, press [ctrl]+[b] and do it). |
| 05-03-2008, 11:20 AM | #9 |
it's a integer but it only shows reals not integer |
| 05-03-2008, 11:48 AM | #10 |
Hmm, sorry, I missed types). Use "conversion - integer to real": Trigger: To prevent this bug, create boolean variable Lumber_set and modify trigger: Trigger: TextEntered
|
| 05-03-2008, 02:21 PM | #11 |
can't i just turn off the trigger in the end? |
| 05-03-2008, 04:26 PM | #14 |
WORKS :D 10x man for the help +rep for the time.i had an unneeded condition and the lumber was set to gold |
