hi to all HiveWorkshop members : D
here in warcraft/starcraft trigger editors you can make strings like this and use them later with integer actions
String[1]=apple
String[2]=orange
String[3]=carrot
for each Integer A from 1 - 3 do actions
game text to all players:String[Integer A]
i cant find a way to do that in C++,i only managed to use partial strings but that cant work for me because it requires a very looooooong string
it probably must be char[index] in c++ but i cant make it work anyway...
i want something like " printf(char[index]) " , i can use other variables on "printf" like float,int.... but cant do it with string variable type :/
Edit:
im using C-Free code
here in warcraft/starcraft trigger editors you can make strings like this and use them later with integer actions
String[1]=apple
String[2]=orange
String[3]=carrot
for each Integer A from 1 - 3 do actions
game text to all players:String[Integer A]
i cant find a way to do that in C++,i only managed to use partial strings but that cant work for me because it requires a very looooooong string
it probably must be char[index] in c++ but i cant make it work anyway...
i want something like " printf(char[index]) " , i can use other variables on "printf" like float,int.... but cant do it with string variable type :/
Edit:
im using C-Free code