This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
0
@cocosoft: Go
cause the changes dont get saved... atleast for me
also i hate it to have everything in just on file
its easier to change keyboard layot (eg. <left alt> + <shift> for EN) than make localized hotkeys i would say
Well afaik its impossible to really not use the GUI and script only with Galaxy. So here is my work around for it:
1.Create a new Trigger
2.Add a new Custom Script action
3.Inside this Custom Script write
return true;}
4.Add another Custom Script Action
5.Write your Code into this Custom Script
6.Add a last Custom Script Action
7.Add bool <func name that isnt used>() { to this Custom script and you are done
this is how it looks like when you View Script
bool gt_UntitledTrigger001_Func (bool testConds, bool runActions) { // Actions if (!runActions) { return true; } //1st Custom Script return true;} //2nd Custom Script struct test{ int a; int b; }; //3rd Custom Script bool Foo(){ //Custom Script End return true; }
if someone knows a better way of doing this please post
@vjeux: Go
well even setting it to null causes a syntax error thats why i asked i tried nearly evertything i also copied the example script from you link but all gave Syntax error
in every documentation about Galaxy Script is saw that pointers should be possible.but actually writing something like this :
struct a{ int b; int c; }; void bla(){ a* s; }
results in a syntax error :O
so my question is does Galaxy Script support Pointers ?
0
@cocosoft: Go
cause the changes dont get saved... atleast for me
also i hate it to have everything in just on file
0
its easier to change keyboard layot (eg. <left alt> + <shift> for EN) than make localized hotkeys i would say
0
Well afaik its impossible to really not use the GUI and script only with Galaxy. So here is my work around for it:
1.Create a new Trigger
2.Add a new Custom Script action
3.Inside this Custom Script write
4.Add another Custom Script Action
5.Write your Code into this Custom Script
6.Add a last Custom Script Action
7.Add bool <func name that isnt used>() { to this Custom script and you are done
this is how it looks like when you View Script
if someone knows a better way of doing this please post
0
@vjeux: Go
well even setting it to null causes a syntax error thats why i asked i tried nearly evertything i also copied the example script from you link but all gave Syntax error
0
in every documentation about Galaxy Script is saw that pointers should be possible.but actually writing something like this :
results in a syntax error :O
so my question is does Galaxy Script support Pointers ?