Gunner.lua

notteccy
Posts: 11
Joined: Fri Feb 03, 2017 1:13 am
Has thanked: 10 times

Re: Gunner.lua

Post by notteccy » Fri Mar 10, 2017 4:57 pm

Ok noob question :)
this is ofc is for ranger, but works for your gunner as it is. ?
more info would be great im trying to understand this lua stuff from scratch. :)
great site great job with AS btw nucular.
im not just looking for myself if i could make these i would post for all.
thanks in advance.

User avatar
nucular
Site Admin
Posts: 260
Joined: Sat Jan 07, 2017 9:08 pm
Has thanked: 27 times
Been thanked: 388 times

Re: Gunner.lua

Post by nucular » Fri Mar 10, 2017 6:09 pm

notteccy wrote:
Fri Mar 10, 2017 4:57 pm
Ok noob question :)
this is ofc is for ranger, but works for your gunner as it is. ?
more info would be great im trying to understand this lua stuff from scratch. :)
great site great job with AS btw nucular.
im not just looking for myself if i could make these i would post for all.
thanks in advance.
Thanks.
You have to understand coding.
Basically you have to write everything in lua language.

https://www.tutorialspoint.com/lua/lua_overview.htm look here. print doesnt work because you have no console to output it to, so you have to use Write("lalala") because Blastradius made it like that.
To see what AionScript lua functions exists, you have to look into the download folder AionScript.pdf shows you all possible options and which variables and classes are available inside lua to access the game.

notteccy
Posts: 11
Joined: Fri Feb 03, 2017 1:13 am
Has thanked: 10 times

Re: Gunner.lua

Post by notteccy » Sat Mar 11, 2017 1:13 am

thanks for reply and links will keep reading. ;) :geek:

mnwaxep
Posts: 10
Joined: Wed Feb 15, 2017 1:53 am
Has thanked: 4 times
Been thanked: 3 times

Re: Gunner.lua

Post by mnwaxep » Thu Mar 16, 2017 8:03 pm

- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:

User avatar
FarAwaY
Posts: 48
Joined: Sun Jan 29, 2017 9:31 pm
Has thanked: 22 times
Been thanked: 13 times

Re: Gunner.lua

Post by FarAwaY » Thu Mar 16, 2017 8:07 pm

mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
Image

mnwaxep
Posts: 10
Joined: Wed Feb 15, 2017 1:53 am
Has thanked: 4 times
Been thanked: 3 times

Re: Gunner.lua

Post by mnwaxep » Thu Mar 16, 2017 8:48 pm

FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem

User avatar
FarAwaY
Posts: 48
Joined: Sun Jan 29, 2017 9:31 pm
Has thanked: 22 times
Been thanked: 13 times

Re: Gunner.lua

Post by FarAwaY » Thu Mar 16, 2017 10:34 pm

mnwaxep wrote:
Thu Mar 16, 2017 8:48 pm
FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem
NA or EU Server? and your Classes script Needs to be on EU: Gunslinger.lua and NA Gunner.lua

Code: Select all

NA Server:
self.Gunner = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};


EU Server:
self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
Image

mnwaxep
Posts: 10
Joined: Wed Feb 15, 2017 1:53 am
Has thanked: 4 times
Been thanked: 3 times

Re: Gunner.lua

Post by mnwaxep » Fri Mar 17, 2017 5:07 pm

FarAwaY wrote:
Thu Mar 16, 2017 10:34 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:48 pm
FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm


Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem
NA or EU Server? and your Classes script Needs to be on EU: Gunslinger.lua and NA Gunner.lua

Code: Select all

NA Server:
self.Gunner = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};


EU Server:
self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
Thx big))

sanane
Posts: 7
Joined: Fri Aug 18, 2017 7:47 am

Re: Gunner.lua

Post by sanane » Mon Aug 21, 2017 8:53 am

hey

my gunner isnt using any skills he is only autoshooting on targets. What have i to change for using skills.

thx

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests