Scripts / Help getting started on scripting

Author
Message
Pretorg
1
Years of Service
User Offline
Joined: 17th Feb 2023
Location:
Posted: 25th Mar 2023 16:28
Hello!

I've been trying to write a script using existing behaviours as a starting point, however I am finding it really difficult, I am doing things blindly, can't find anything about scripting on the official guide, the closest I found is an unofficial website called script-guru but most functions are not documented and I'm not even sure if those are still used in ggmax or they were deprecated.

There is a post from 2018 with an API for notepad++ which again, not sure if something has changed for ggmax since then, but thought I would give it a try anyway, I downloaded the xml file and followed the instructions, but it doesn't work and as far as I know I did everything right, so I guess that my question is, how are you guys doing it?

There has to be something I'm missing, as a disclaimer I am not a programmer, I have coded in gml (a proprietary programming language for gamemaker studio) and c# in unity but I am not a programmer, maybe I am too used to those tools having APIs and just need to get used to a different way of doing things, please let me know.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 26th Mar 2023 13:08
the api should still work though it's a little outdated at this point it will have most commands in it (i.e. generally the commands that are in max and classic)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Pretorg
1
Years of Service
User Offline
Joined: 17th Feb 2023
Location:
Posted: 26th Mar 2023 23:30
I reinstalled notepad++ and did the whole process again, even tried the portable version but still doesn't work, what version are you using?
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 27th Mar 2023 01:12
Go for this and save the headache
https://gamecreator.store/product/36362
PM
Pretorg
1
Years of Service
User Offline
Joined: 17th Feb 2023
Location:
Posted: 27th Mar 2023 22:29
Thanks! I had no idea that tool existed.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 27th Mar 2023 23:21
indeed, luapad is good for GG specific coding but to answer your question i'm using notepad++ v8.4.8 (64bit).
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-02-22 04:03:43
Your offset time is: 2024-02-22 04:03:43