Thursday 9 February 2012

Today in UDK (9/2/12)

This morning I learned how to create a light triggered with a light switch. First I created a static mesh to act as a light switch. Then i created a trigger (Right click -> add actor -> Trigger) I set the trigger in the same place as the mesh. Next I made a point light toggleable. This image below shows How they were positioned.

Next was to write the code for the lighting. I Opened kismet and created a new event using the trigger. I greated a toggle aswell. I connect the Used port to the toggle port and then added the pointlight to the target port.


Next I added an announcement. I wrote let there be light. I coonected that to the used port aswell.

No comments:

Post a Comment