Hello everyone! I am having some trouble with a little code I am trying to get to work and I figure this is the place to ask for help. Hopefully, if it gets solved, reading this thread could help further UDK users.
I am trying to use a Trigger Volume which, with the help of a Kismet event and a custom Sequence Action, will tell any actor to change a certain Texture from it's Material Instance Constant.
First of all I tried doing something similar with an already existing Sequence Action: Set Material
This test worked perfectly: Any object that entered the Trigger Volume changed it's material automatically and then went back to default as soon as it left the Volume.
Then I went on and started coding:
The Kismet Sequence was then slightly changed to match as so:
This time I can't get the sequence to work. Any time an actor enters the volume there is a kismet warning that pops up:
"Kismet Warning: Obj [Name] has no handlers"
I have tried and tried and haven't got this to work... I hope I can get some help on this one and I hope it helps anyone having the same problems.
I am trying to use a Trigger Volume which, with the help of a Kismet event and a custom Sequence Action, will tell any actor to change a certain Texture from it's Material Instance Constant.
First of all I tried doing something similar with an already existing Sequence Action: Set Material
This test worked perfectly: Any object that entered the Trigger Volume changed it's material automatically and then went back to default as soon as it left the Volume.
Then I went on and started coding:
Code:
class SeqAct_SetTexParam extends SequenceAction
native(Sequence);
var() Texture NewTexture;
var() Name ParamName;
defaultproperties
{
ObjName="Set TexParam"
ObjCategory="Actor"
VariableLinks[0]=(bModifiesLinkedObject=true)
}
The Kismet Sequence was then slightly changed to match as so:
This time I can't get the sequence to work. Any time an actor enters the volume there is a kismet warning that pops up:
"Kismet Warning: Obj [Name] has no handlers"
I have tried and tried and haven't got this to work... I hope I can get some help on this one and I hope it helps anyone having the same problems.