thanks to you ;) , but how can i create a static array of a classes? I always get the warning, that i have to create it dynamic! I though it isnt possible =O
The warning was: "You can only make a dynamic instansiations of classes"
But i thought this is the right way =O
Then Kueken told me to try this:
c_Dialog*[]c_Dialog_RaceDialog=newc_Dialog*[4]();
First it seems that this works, but i was wrong, i always had only one class, i could work with the indices but i only had the values in the class whcih was "created" last.
Now i have no idea how i can create an array of classes...
I hope u can help me ;)
MfG Artery
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a question..
I have a trigger-variable and a trigger-pointer:
Thats not possible! So how its possible to link my pointer to my trigger?
MfG Artery
Ahhh.. thx it works ;)
After the update, if i try to test my code i get the warning: "Unable to find the root file. Did you forget to define the main entry?"
I only can fix this if i just rename my initialization file to "MapScript.galaxy+ +", like Kueken said :/
MfG Artery
Yeha this was it :D
thanks to you ;) , but how can i create a static array of a classes? I always get the warning, that i have to create it dynamic! I though it isnt possible =O
MfG Artery
Hey i have a problem!
i wanted to create a array of a classes. I got a warning when i tried this:
The warning was: "You can only make a dynamic instansiations of classes" But i thought this is the right way =O
Then Kueken told me to try this:
First it seems that this works, but i was wrong, i always had only one class, i could work with the indices but i only had the values in the class whcih was "created" last. Now i have no idea how i can create an array of classes...
I hope u can help me ;)
MfG Artery