ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Ability

Sends an ability command to a player, egroup or sgroup. extra parameters are provided if the ability requires them.

On this page
Cmd_Ability(user, blueprint, target, direction, skipCostPrereq, queued)

Description

Sends an ability command to a player, egroup or sgroup. extra parameters are provided if the ability requires them.

Parameters

  • userPlayerID/EGroupID/SGroupIDrequired
  • blueprintAbilityBlueprintrequired
  • targetPosition/SGroupID/EGroupIDoptional
  • directionPositionoptional
  • skipCostPrereqBooleanoptional
  • queuedBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar