Page 4 of 4

Re: List of components and methods

Posted: Thu Nov 20, 2014 7:19 am
by cromcrom
MAdCatter, the official définitions have been released... Check the modding section, Scripting references.

Re: List of components and methods

Posted: Thu Nov 20, 2014 12:39 pm
by JKos
Just for info: Official documentation is not complete, for example it doesn't have the (really important)properties of the Brain component, so this is still useful. And yes, like I said in OP the argument types are in wrong order.

Re: List of components and methods

Posted: Thu Nov 20, 2014 2:34 pm
by cromcrom
Whatever, I am outta here.

Re: List of components and methods

Posted: Thu Nov 20, 2014 5:00 pm
by JKos
Hey cromcrom, I didn't mean to sound arrogant or rude, sorry if you got my comment that way. What I meant to say was that I noticed that there is still some things missing from the official documentation which are in this list.

Re: List of components and methods

Posted: Thu Nov 20, 2014 6:13 pm
by NutJob
JKos, I doubt that was the case. Even I recognize your comments as the exact opposite prose of my own, so that's really saying something. Then again, textual comments do have a way of infiltrating chemical patterns, behavioral demeanor, not usually inherit to receiving spoken word.

Re: List of components and methods

Posted: Mon Feb 02, 2015 2:51 pm
by TheLastOrder
Great job!

Is there a way to kill the party? I haven't found a reference for it. Nor in the forum :S

For example, if the party falls in a non-exit pit with spears, I want to kill them all (Metallica's joke) immediatly. Any idea about this?

:mrgreen:

Re: List of components and methods

Posted: Mon Feb 02, 2015 3:11 pm
by THOM
Do a function like this

Code: Select all

function PartyKiller()	
	party.party:getChampion(1):damage(100000, "physical")
	party.party:getChampion(2):damage(100000, "physical")
	party.party:getChampion(3):damage(100000, "physical")
	party.party:getChampion(4):damage(100000, "physical")
end

Re: List of components and methods

Posted: Mon Feb 02, 2015 6:55 pm
by TheLastOrder
THOM wrote:Do a function like this

Code: Select all

function PartyKiller()	
	party.party:getChampion(1):damage(100000, "physical")
	party.party:getChampion(2):damage(100000, "physical")
	party.party:getChampion(3):damage(100000, "physical")
	party.party:getChampion(4):damage(100000, "physical")
end
Genious!!! ;)