Page 3 of 4
Re: New hooks?
Posted: Tue Nov 04, 2014 4:44 pm
by JohnWordsworth
"GraphicsContext.drawImage2(image, x, y, srcX, srcY, srcWidth, srcHeight, destWidth, destHeight)"
Legendary! This is going to make my little GUI tools 10x easier to build (and more efficient)! This was on my list of things to ask for during a Glogg session, but it's amazing to see it here already.
Re: New hooks?
Posted: Tue Nov 04, 2014 5:26 pm
by JKos
Wow, onDrawGui is there, great. And why didn't I try GameMode.setCamera(nil)...maybe too obvious

I tried everything else but not that.
Re: New hooks?
Posted: Tue Nov 04, 2014 5:29 pm
by Xanathar
I agree, drawImage2 is epic!
Re: New hooks?
Posted: Tue Nov 04, 2014 7:27 pm
by cromcrom
AAAARGH too late

Any party speed functions please ?
Re: New hooks?
Posted: Wed Nov 05, 2014 9:48 am
by Jouki
so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...

Re: New hooks?
Posted: Wed Nov 05, 2014 10:06 am
by petri
Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...

Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")
Re: New hooks?
Posted: Wed Nov 05, 2014 10:43 am
by JohnWordsworth
@Petri: On minor quirk that I think exists with the onDrawGui hook, is that you can use it as a connector only if you have defined an onDrawGui hook in the party definition. The hook in the party define can be an empty function, but the connectors don't seem to be called unless that function has been defined first. Nothing major, but I mostly just wanted to let you know!
Re: New hooks?
Posted: Thu Nov 06, 2014 9:22 pm
by Jouki
petri wrote:Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...

Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")
I meant setWound or sth like that, I'd like set the wounds to champions manually. or is that doing? cuz it doesn't sound like that.
Re: New hooks?
Posted: Thu Nov 06, 2014 11:31 pm
by petri
Jouki wrote:petri wrote:Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...

Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")
I meant setWound or sth like that, I'd like set the wounds to champions manually. or is that doing? cuz it doesn't sound like that.
Have you tried to set the condition?
Re: New hooks?
Posted: Fri Nov 07, 2014 1:35 am
by Jouki
petri wrote:
Have you tried to set the condition?
lol I've tried that and it didnt work but now it does. After few reloads (F5) editor just crashed [Not enough memory] (after relaunch the editor I've got the wounded hand [so I guess it's solved]).
btw. does editor have limited memory?
edit: oh I see, new conditions won't be executed by pressing F5. I have to go into Main menu and then back