• 0

    posted a message on [Trigger] How to not use GUI

    @cocosoft: Go

    cause the changes dont get saved... atleast for me

    also i hate it to have everything in just on file

    Posted in: Tutorials
  • 0

    posted a message on [Misc]! WASD controls and non-Qwerty keyboards

    its easier to change keyboard layot (eg. <left alt> + <shift> for EN) than make localized hotkeys i would say

    Posted in: Tutorials
  • 0

    posted a message on [Trigger] How to not use GUI

    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

    Posted in: Tutorials
  • 0

    posted a message on Pointer ?

    @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

    Posted in: Miscellaneous Development
  • 0

    posted a message on Pointer ?

    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 ?

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.