And combined with the struct reference (Yea, they works just like Generic Types):
Note: currently the struct reference cannot be used as a global var. you could only use it inside of functions.
While you could create global function ref.
I participated in the patch alpha testing. Now that it's moved into beta (depending on who one asks) with a larger apparent pool of testers, seems safer to discuss it.
I am skeptical posting galaxy code publicly would be an issue.
(iii) you are a resident of a country located in North, Central or South America, Australia, New Zealand, or Asia (excluding Russia, the People's Republic of China, Taiwan and Korea), and are an adult in your country of residence;
Ah oh... I'm in China. So should I delete this SC2 client?
But wait, EU is not listed here too, and I see many testers here are from EU. Confusing...
Yea, you can handle almost every build-in interface elements with triggers. capturing there events as if they are normal dialog items, modify their texts/images and tips with triggers dyamicly. The most basic usage is you can do dyamic tip for abilities and items.
And the "function pointer" is in, I find some ways to put functions into structs. And we can pass structs in function parameters(No gui support yet)
WoW, have you truly digged into the UI stuff? I'm sure there are some features which would get 90% people excited. They just hide in deep. And you need to figure them out ...
And there far more than the UI stuff of course. If some one could confirm it is allowed, I could make a list of all new features I found.
Just bump this thread for a update. About some of my recently research on arrayref.
http://www.sc2mapster.com/forums/development/galaxy-scripting-and-trigger-lib/38374-passing-arrays-as-parameters/#p7
Better to delete C:\ProgramData\battle.net & C:\ProgramData\Blizzard Entertainment before you install the game. If you are using win7.
And before you install the game, make sure agent.exe isn't in your memory, if it is there, kill it. Then start the installing.
Make sure you have enough space in both C: and the driver you want the game be installed to.
Well, currently haven't.
It seems got another pattern other than structref & funcref. Currenly, I can only sure the keywords is "arrayref" .
Actually I got to much things to be tested. So I think you can try it too :)
I really need to sleep now.
why the gif not loop itself?
Ok I just upload a video instead.
Update: Unfortunately. Currently the RTT (Render to Texture ) only works in preview, and cannot be displayed properly in custom maps
It needs the Campaign render mode to be displayed properly - and CampaignMode() is blizzrd only.
Render to Texture now works in Scene Editor
Ignore the watermark. I just cannot find a free video converter.
Edit: why the gif not loop itself?
What have I said? Some instincts + hours of trial and error
Of course, the instincts aren't out of nowhere. While I was trying to figure out the new features in galaxy, I find a error message in Error.txt:
e_invalidDataRef=Attempted to use an obsolete/uninitialized struct/array ref
e_invalidFuncRef=Attempted to use an uninitialized function ref
Then I just combine these keywords in countless ways...
They haven't added keywords highlights for funcref and structref, so I missed by many times
They are in, Just a little complicated to do them. It also takes me some times to figure them out.
Maybe I will write a detail tutorial at sometime, maybe after it goes PTR phase...
And combined with the struct reference (Yea, they works just like Generic Types):
Note: currently the struct reference cannot be used as a global var. you could only use it inside of functions. While you could create global function ref.
Ok, I will do it
Here it goes, the function reference:
(iii) you are a resident of a country located in North, Central or South America, Australia, New Zealand, or Asia (excluding Russia, the People's Republic of China, Taiwan and Korea), and are an adult in your country of residence;
Ah oh... I'm in China. So should I delete this SC2 client?
But wait, EU is not listed here too, and I see many testers here are from EU. Confusing...
I'm not very good at english language
“You may not copy, photocopy ....”
What does this word "photocopy" means? Is screenshots forbidden? Or it is actually means "steal the art to another game?"
Last 2 weeks?
I thought the test starts yesterday. Are you get invited that early?
Just I'm not sure if it is allowed to post galaxy codes here, may be it is wiser to wait for the ptr phase?
Yea, you can handle almost every build-in interface elements with triggers. capturing there events as if they are normal dialog items, modify their texts/images and tips with triggers dyamicly. The most basic usage is you can do dyamic tip for abilities and items.
And the "function pointer" is in, I find some ways to put functions into structs. And we can pass structs in function parameters(No gui support yet)
WoW, have you truly digged into the UI stuff? I'm sure there are some features which would get 90% people excited. They just hide in deep. And you need to figure them out ...
And there far more than the UI stuff of course. If some one could confirm it is allowed, I could make a list of all new features I found.
Afer hours of trial and error...
Just found some great things in the editor...
Not sure if it is allowed to share the details of them...