Product Chat / LUA script reference.

Author
Message
gamma
8
Years of Service
User Offline
Joined: 13th Jan 2016
Playing: Star Wars Battlefront 2015
Posted: 14th Jan 2016 16:54
Hi, where can i get the most up-to-date reference for commands please ?

I noticed an 'AIEntityGoTo' command that i didn't find in the reference here :

https://forum.game-guru.com/thread/208970

ans i'm wondering what else i am missing.


Thanks,

gamma.
Self control leads to self respect and self respect brings courage.
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 14th Jan 2016 17:04 Edited at: 14th Jan 2016 17:08
Hi, all the commands for LUA are in the global.lua script under scriptbank. You might also find some of the twitch broadcasts helpful here:
https://www.youtube.com/channel/UC1q1e3Q9IKMk4nDlAGb_5Jg

there is also a community guide link:
http://steamcommunity.com/app/266310/guides/#scrollTop=50

There are also tutorials within Gameguru under video tutorials pointing to the twitch broadcasts.

Hope this helps
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
Pirate Myke
Forum Support
14
Years of Service
Recently Online
Joined: 31st May 2010
Location: El Dorado, California
Posted: 14th Jan 2016 17:05 Edited at: 14th Jan 2016 17:06
Yes, seems it needs to be updated a bit. Most new additions are listed in the changelog.txt file in the Game Guru folder of your install.

Some might also be readable variables from the global.lua file which lists the current commands attached to the engine, and some at the bottom which are AGK commands for sprites and mouse stuff.

If you tell me which script the mentioned one from you, I will see if I can find that answer for you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

gamma
8
Years of Service
User Offline
Joined: 13th Jan 2016
Playing: Star Wars Battlefront 2015
Posted: 14th Jan 2016 19:03
Thanks both, i saw the command referenced here :

https://forum.game-guru.com/thread/207801?page=5


Thanks,

gamma.
Self control leads to self respect and self respect brings courage.
PM
Pirate Myke
Forum Support
14
Years of Service
Recently Online
Joined: 31st May 2010
Location: El Dorado, California
Posted: 14th Jan 2016 19:52
Well it does something and I cant see where in the global it is defined in the global.lua file. But I notice that this is used in all the AI scripts.

I might have missed where it is define. I will keep looking.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

gamma
8
Years of Service
User Offline
Joined: 13th Jan 2016
Playing: Star Wars Battlefront 2015
Posted: 14th Jan 2016 22:11
only 5 Google hits :

https://www.google.co.uk/search?num=100&site=&source=hp&q=AIEntityGoToPosition&oq=AIEntityGoToPosition&gs_l=hp.3...1082.1082.0.2223.2.2.0.0.0.0.850.1492.5-1j1.2.0....0...1c..64.hp..0.0.0.0.egbF7y7h-Ww
Self control leads to self respect and self respect brings courage.
PM
Pirate Myke
Forum Support
14
Years of Service
Recently Online
Joined: 31st May 2010
Location: El Dorado, California
Posted: 14th Jan 2016 22:23
Something that appears to be hard coded variable for use. I am waiting on a reply from the programmers.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

gamma
8
Years of Service
User Offline
Joined: 13th Jan 2016
Playing: Star Wars Battlefront 2015
Posted: 14th Jan 2016 23:07
Thanks very much Myke
Self control leads to self respect and self respect brings courage.
PM

Login to post a reply

Server time is: 2024-11-28 23:05:36
Your offset time is: 2024-11-28 23:05:36