I have no idea why that would happen! Is it only with that action, or with all instances of the arithmetic operator presets.
You can always use set variable = itself * modifier
EDIT: Also, a screenshot can tell a 1000 words. You can attach images to your post after you post with the attach button next to the edit button. In vista or 7 there is a utility called snipping tool that lets you take screenshot really easy.
But the operator " * " realy does not exist. I capture a screen, but I do not guarantee the understanding of my native language. however, you can see there are no multiplication.
http://postimage.org/image/2r84nppyc/
Go to the text editor and find something with the ID of "PresetValue/Name/lib_Ntve_00000087" You should be able to change it to "*"
oh and make sure you set it to only show core text, the text editor will crash me if I set it to all.
Turn on view libraries, then go to built-in -> logic -> Support -> Arithmetic Operator. Click on the messed up operator. Is the script identifier still "mult"?
uhh.... You should be able to edit EVERYTHING in the text editor, that's why It's so awesome. I wonder how it got messed up in the first place.
I got a Solution.
Simply, download "MPQ Editor" and edit (in my case) "ptBR.SC2Data" (in another case the language change in name of file).
In folder "LocalizedData", we open "TriggerStrings.txt" and edit the ID you sad to. Save the txt, close the txt and tcharammm... its done!!!
Simply and easy. Why i dont think that before!?
well... Solved. Thanks for your great help. you made me think this editor.
...........................................
EDIT:
I solve making a function.
Here:
int GetMultiplier(int pValue, int pMultiplier) {
Return = (pValue * pMultiplier);
}
Hi.
When i set a Action "Modify Variable", the multiplication operator does not exist. I need it. What should I do for this operator appears there?
PS.: I'm using PT-BR language. Thanks and waitting.........
@pjrm1470: Go
Welcome to sc2mapster! :D
I have no idea why that would happen! Is it only with that action, or with all instances of the arithmetic operator presets.
You can always use set variable = itself * modifier
EDIT: Also, a screenshot can tell a 1000 words. You can attach images to your post after you post with the attach button next to the edit button. In vista or 7 there is a utility called snipping tool that lets you take screenshot really easy.
@grenegg: Go
Thanks.
But the operator " * " realy does not exist. I capture a screen, but I do not guarantee the understanding of my native language. however, you can see there are no multiplication. http://postimage.org/image/2r84nppyc/
The problem could be the language installed?
@pjrm1470: Go
Go to the text editor and find something with the ID of "PresetValue/Name/lib_Ntve_00000087" You should be able to change it to "*"
oh and make sure you set it to only show core text, the text editor will crash me if I set it to all.
Turn on view libraries, then go to built-in -> logic -> Support -> Arithmetic Operator. Click on the messed up operator. Is the script identifier still "mult"?If everything else fails, custom script works wonders ;)
If you, for example, want to multiply a local variable called x with 2, you add this custom script:
Especially for longer calculations, this is way faster than clicking through your lists of functions and variables.
xD, didn't know you were allowed to mess with editor UI text in the text editor. Interesting
@grenegg: Go
I apologize for not knowing where it is. Can you describe which menu i must go to reach the ID's?
Edit: i found it. lol
Thanks alot for help me.
----@Kueken531: Go
I didnt study scripts yet. I had already thought of that too. A function with 2 params value and multiplier. But i dont know how i'll build it.
@pjrm1470: Go
@grenegg: Go
I found it, but i'm not able to edit it. =( There are somethink i can do to be able?
@pjrm1470: Go
uhh.... You should be able to edit EVERYTHING in the text editor, that's why It's so awesome. I wonder how it got messed up in the first place.
@grenegg: Go
http://postimage.org/image/3g46v1b8/ here is. it still gray. i also closed my map to see if i can edit it. but nothing change.
There are any configuration i must set to edit core preset's?
I got a Solution. Simply, download "MPQ Editor" and edit (in my case) "ptBR.SC2Data" (in another case the language change in name of file). In folder "LocalizedData", we open "TriggerStrings.txt" and edit the ID you sad to. Save the txt, close the txt and tcharammm... its done!!!
Simply and easy. Why i dont think that before!? well... Solved. Thanks for your great help. you made me think this editor.
...........................................
EDIT: I solve making a function. Here:
int GetMultiplier(int pValue, int pMultiplier) { Return = (pValue * pMultiplier); }
That's all.
Thanks.