Topic GalaxyEditor FAQ (Problems & Solutions)
Baybars #764
Baybars
Camera Improvements,

Still no way to attach Camera to a unit...
Camera Follow Unit mechanism is designed to follow unit from a birds eye view, but when it comes to follow a height displacing unit from its horizon axis, camera cant catch its target (cant displace height accordingly) and all new ways of modding (FPS/TPS) depending on "height displacement following" ruin in a second......

Please, "Camera" is everything....Every one of your programmers hardworking every day to add something new to Starcraft. 3rd parties are working very hard too, because we love to be with Blizzard. Please, we need Editor to be greatly improved, I write this here because here is Blizzard's Own site...and we are your community...
Baybars #764
Baybars
Text/string length, text/string get char code, text/string get numeric equal functions needed.

Is there a way to handle strings/texts letter by letter?
For example we create our own fonts or animated writing methods, we draw every letter, number and symbol and imported to our map. Now all we need to handle text to convert into our animating font.

-How can we convert text, for example "1234ABCD", digit by digit starting from any digit into char code?or convert into integer digit by digit?

for numeric conversion example:
set variable lv_MyInteger = integer("1234ABCD", 0,1) ; where 0 is start index (in this example it points to "1"), where 1 is how many digits to be converted into integer from start index.

for Char code conversion example:
set variable lv_MyCharCode = integer("1234ABCD", 4) ; where 4 is target index (in this example it points to "A")

for string length example:
set variable lv_MyStringLength = integer("1234ABCD")

There is a conversion function string to int/string to real but it tries to convert whole text, cannot choose start and end digit.
If no such functions, please implement.
Baybars #764
Baybars
Array Length and Dimension "Get" function needed:

In editor there is no function to return length or dimension of an array. This makes neccessary to use another integer to hold array length or dimension to be used in For, while loops .
When an array is defined, Editor generated script to init this array looks like this:
(In this example MyArray is a DialogItem type array)

while (init_i <= 6) {
MyArray[init_i] = c_invalidDialogControlId;
init_i = init_i + 1;
}

Each member of MyArray[] will be initialized untill init_i reaches 6, 6 is array length that we define in editor.
What if we implement C#/++ based script?For example:

while (init_i <= MyArray[].length()) {
MyArray[init_i] = c_invalidDialogControlId;
init_i = init_i + 1;
}

This way we dont have to define another integer to hold length of our arrays. When needed, just refer to .length() function.
If there such function exists which I couldnt see then please tell me.

Additionally, after map init, there is no way to define any other variable in run time or re-dimension any array. Everything must be predefined which prevents dynamic creation of variables.
Baybars #764
Baybars
Cam zoom level get function needed,

When we zoom in or out our camera, is there a function to return which zoom level are we in? Beacuse according to zoom level I want to change scene, add/remove objects, actors.

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Click here to view the Forums Code of Conduct.

Report Post # written by
Reason
Explain (256 characters max)

Reported!

[Close]