Edited by nyrox, 05 September 2022 - 08:57 PM.
error after compilation
#1
Posted 05 September 2022 - 08:52 PM
#2
Posted 05 September 2022 - 09:18 PM
your script has too many global variables, more than is allowed in 2.53
#3
Posted 05 September 2022 - 09:37 PM
ok thanks
#4
Posted 06 September 2022 - 08:20 PM
i make a lot of global variale like this
#5
Posted 07 September 2022 - 03:40 AM
1. Decrlare buffer, which is an array (21 ints long), at the start of your global script.
2. When you enter new Dmap, use GetDMapName function to load name of the newly entered DMap into buffer from step 1.
3. When needed to render DMap name, use the loaded buffer from step 2 as string argument passed to Screen->DrawString function.
- Aquamentus (Facing Right) likes this
#6
Posted 09 September 2022 - 06:13 PM
2. When you enter new Dmap, use GetDMapName function to load name of the newly entered DMap into buffer from step 1.
you can't just take the name of the Dmap you are in game?
in the fonction void GetDMapName(int DMap, int buffer[]);
what the "int Dmap" argument for?
in short what i want is array with inside a list off string.
the only way i found is
made global variable like
int ListZone[] = { Tzone00, Tzone01, Tzone04, Tzone09, Tzone06, Tzone05, Tzone25, Tzone41, Tzone02, Tzone07}
in first i try to change some off the Tzone by GetDMapName( 3, buffer[]);
like
int ListZone[] = { Tzone00, , Game->GetDMapName( 3, buffer), Tzone04, Tzone09, Tzone06, ... }
but this get founction don't return nothing like Game->GetComboData(13,0x6E,94) for exemple
maybe you known a better way becaue this take a lot of global
the string variable is very special to use and a never found a metod to change or concat sting like in C++ in the the ZC script.
it was very easy if i can just declared something like this
int ListZone[] = { "Zirconia Coastline", "Zirconia Village", "Castle Courtyard" };
but this don't work
Edited by nyrox, 09 September 2022 - 06:17 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users