Page 1 of 1

custom Events + HUD scripting

Posted: Sat Jan 30, 2016 9:41 am
by Anakin
Hi,

i'm working on an hud file and wonder, what kind of language it is.
There is this line:

Code: Select all

EventColor("player1.weapon1.target.teamColor")
I would really like to change the team color, but it is impossible, because hard coded.
But what about an work around:

Define a new Event: player1.weapon1.target.newColor. And set this color to green and red, or what ever.

But I have no idea, if this is possible and how or where to implement this new event. So I hope someone can explain the SWBFII events.

Re: custom Events + HUD scripting

Posted: Sat Jan 30, 2016 12:51 pm
by Marth8880
I'm like, 95% sure there's no way we can define new HUD events, sadly. :(

What *would* be useful though is a complete list of the existing ones. :o

Re: custom Events + HUD scripting

Posted: Sat Jan 30, 2016 5:50 pm
by Anakin
Yes, such a list would be great.

Do you know an event for enable and disable zooming??
I tried the one from the iron sight, but did not work