You need to have another actor to receive the clicks. Either make an invisible actor that follows the mouse (like in the 1945 demo), use a background actor (abuse demo) or use a filled region that is parented to the view. Now thee are two things you can do: right click on the actor, say add activation event, mouse button down, and chose your player actor. The other thing is to add a mousebutton down event, script editor, and say
- Code: Select all
SendActivationEvent("Player");
where Player is the name of your actor. On your player actor, add an event activation event, and put your script for shooting.