Page 1 of 1

PlayerCommandTrigger

Posted: Tue May 02, 2017 9:02 pm
by aBraM
I tried to use the playercommandtrigger it just does not seem to work as the source player and the combat target object i put my playerspawn and as an action I put kneel down after seeing it does not work I put attack once doesn't work aswell tried to power it with buttons area triggers but still no clue why it is not working...

Re: PlayerCommandTrigger

Posted: Wed May 03, 2017 3:31 pm
by JakSparro98
aBraM wrote:I tried to use the playercommandtrigger it just does not seem to work as the source player and the combat target object i put my playerspawn and as an action I put kneel down after seeing it does not work I put attack once doesn't work aswell tried to power it with buttons area triggers but still no clue why it is not working...
the Command source player property is used only to point to the player that have to execute the action, instead the Command Target Object is used to point to the target in case the choosed action needs to have a target for something (shooting running, etc).

if I understood right all you want to get is just make a player to kneel, first you need to disable player controls with PlayerInputEnableTrigger and then apply the command, here an example.