Call of Duty Script Documentation

# findbestcovernode( <nodemeaning>, <node> )

## Module

    AI

## Summary

    Find the best cover node for a given NPC given his state.

## Call this function on

    <actor>

## Example

    self findbestcovernode ("prefer", here );

## Minimum Number of arguments: 0

## Number of optional arguments: 2

    1 : <nodemeaning> whether to ignore or prefer the next parameter. 'ignore' or 'prefer' are valid values
    2 : <node> a node to consider based on previous parameter.

Return to Function List