FGNode:AI:AIShootAt

From CryWiki

Jump to: navigation, search
Name: AIShootAt Class: AI Category: Approved Hidden: No

(Inputs - Outputs - Notes - See Also)

shoots at point


Inputs

entityId Port
Type: Entity Technical Name: entityId Default Value: 0
Changes the attached entity dynamically
Sync Port
Type: Any Technical Name: sink Default Value: None
for synchronization only
cancel Port
Type: Any Technical Name: cancel Default Value: None
cancels execution
TargetPos Port
Type: Vector Technical Name: targetPos Default Value: 0,0,0
Position to shoot or aim at (dynamically updated). If TargetId is specified it will override this parameter.
Duration Port
Type: Float Technical Name: time Default Value: 1
How long to shoot
ShotsCount Port
Type: Integer Technical Name: shots Default Value: -1
How many shots to do
AimOnly Port
Type: Boolean Technical Name: AimOnly Default Value: 0
Only aim at target position instead of shooting
TargetId Port
Type: Entity Technical Name: TargetId Default Value: 0
Entity to shoot or aim at (dynamically updated), uses the position the AI system aims at if the entity has AI object. If not set TargetPos is used instead.


Outputs

done Port
Type: Entity Technical Name: done Default Value: None
action done
succeed Port
Type: Entity Technical Name: succeed Default Value: None
action done successfully
fail Port
Type: Entity Technical Name: fail Default Value: None
action failed
OnShoot Port
Type: Any Technical Name: OnShoot Default Value: None
shot is done


Notes

This node has no notes. To add notes, edit this page.


See Also

No "See Also" items specified for this Node. To include an item, edit this page.

Personal tools