List of components and methods
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: List of components and methods
MAdCatter, the official définitions have been released... Check the modding section, Scripting references.
A trip of a thousand leagues starts with a step.
Re: List of components and methods
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.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
- cloneObject viewtopic.php?f=22&t=8450
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: List of components and methods
Whatever, I am outta here.
A trip of a thousand leagues starts with a step.
Re: List of components and methods
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.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
- cloneObject viewtopic.php?f=22&t=8450
Re: List of components and methods
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.
- TheLastOrder
- Posts: 104
- Joined: Wed Oct 17, 2012 1:56 am
Re: List of components and methods
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?
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?
Last edited by TheLastOrder on Mon Feb 02, 2015 6:56 pm, edited 1 time in total.
Re: List of components and methods
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
- TheLastOrder
- Posts: 104
- Joined: Wed Oct 17, 2012 1:56 am
Re: List of components and methods
Genious!!!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