InZaneFlea
03-03-2009, 04:28 PM
Hey there. I'm working on a project right now, using Kismet and UnrealScript. I have a ball that I've brought in as a KActor, which I'm pushing around with a modified Impact hammer that does no damage but pushes the ball around. I have it set up right now so the ball itself triggers when it hits the 'goal', and the text 'Goal!' is displayed so I know it's triggering.
My question, is how do I add 1 to the score of the other team when the ball goes in the goal? Is this possible in Kismet? If not, I have no idea what I'd have to do in UnrealScript, so would anyone be able to help me with that? As it is, I've spent about 6 hours fooling around in Kismet to no avail, and this is my current Kismet setup :
http://img.photobucket.com/albums/v495/inzaneflea/Kismet.jpg
Top left is simply setting up player inventories on spawn.
Rest of it is the trigger, and me playing around with trying to get the goal scoring working, but I really have no idea where to begin.
I've thought maybe I need to use a Named Variable that is set to whatever the variable is that controls the score for each team, but I can't find that variable. Help me!
My question, is how do I add 1 to the score of the other team when the ball goes in the goal? Is this possible in Kismet? If not, I have no idea what I'd have to do in UnrealScript, so would anyone be able to help me with that? As it is, I've spent about 6 hours fooling around in Kismet to no avail, and this is my current Kismet setup :
http://img.photobucket.com/albums/v495/inzaneflea/Kismet.jpg
Top left is simply setting up player inventories on spawn.
Rest of it is the trigger, and me playing around with trying to get the goal scoring working, but I really have no idea where to begin.
I've thought maybe I need to use a Named Variable that is set to whatever the variable is that controls the score for each team, but I can't find that variable. Help me!