HasFeat

Prototype: GemRB.HasFeat (globalID, feat)

Description: Returns the number of times this feat was taken if the actor has the passed feat id (from ie_feats.py).

Parameters:

  • globalID - party ID or global ID of the actor to use
  • feat - feat index from ie_feats.py

Return value: number of feat levels

See also: CheckFeatCondition


Back to function index, GUIScript introduction.