Hi all.
I'm making a map that uses quite a few KActors. Now, it's well known that Kasctors and bots don't really get along. I've got most of the bots stuff already fixed but what I want to do is:
There's a wall that seperates 2 sides of the map built from Kactors that the bots need to shoot at. When the block receives a certain amount of damage, it explodes and disappears.
This I can do no problem. The problem is, thoughout the map there are over 100 Kactors so assigning this action seperately to each Kactor is going to be a long process and very messy.
I'd like to shorten this function in some way.
So:
1) Get the name of the KActor that is being damaged
2) Attach the emitter to that KActor
3) When theKActor receives 300 damage it is destroyed and the emitter is fired.
Problem is, I'm a complete dunce when it comes to this stuff and can't work it out (I dont' think like a programmer it seems I have no idea on getting the name of the kactor and passing it along to the rest of the functions.
Can anyone help?
I'm making a map that uses quite a few KActors. Now, it's well known that Kasctors and bots don't really get along. I've got most of the bots stuff already fixed but what I want to do is:
There's a wall that seperates 2 sides of the map built from Kactors that the bots need to shoot at. When the block receives a certain amount of damage, it explodes and disappears.
This I can do no problem. The problem is, thoughout the map there are over 100 Kactors so assigning this action seperately to each Kactor is going to be a long process and very messy.
I'd like to shorten this function in some way.
So:
1) Get the name of the KActor that is being damaged
2) Attach the emitter to that KActor
3) When theKActor receives 300 damage it is destroyed and the emitter is fired.
Problem is, I'm a complete dunce when it comes to this stuff and can't work it out (I dont' think like a programmer it seems I have no idea on getting the name of the kactor and passing it along to the rest of the functions.
Can anyone help?