HPL3/Amnesia: Rebirth/Scripting/cEvent

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cEvent has no public fields.

Functions

Return Type Function And Description
void AddActionFactSet(const tString &in asFact)
void AddActionFloatOp(const tString &in asFact, float afValue, eEventOpType aOpType)
void AddActionIntOp(const tString &in asFact, int alValue, eEventOpType aOpType)
void AddActionStringSet(const tString &in asFact, const tString &in asValue)
void AddCriteria(const tString &in asFactName)
void AddCriteriaFloatCompare(const tString &in asFactName, float afValue, eEventCompareType aCompareType)
void AddCriteriaFloatCompare(const tString &in asFactName, float afMin, float afMax, eEventCompareType aCompareType)
void AddCriteriaIntCompare(const tString &in asFactName, int alValue, eEventCompareType aCompareType)
void AddCriteriaIntCompare(const tString &in asFactName, int alMin, int alMax, eEventCompareType aCompareType)
void AddCriteriaStringCompare(const tString &in asFactName, const tString &in asValue, eEventCompareType aCompareType)
int GetActionNum()
int GetCriterionNum()
int GetId()
tString GetName()
tString GetOutput()
int GetOutputId(int alId)
void SetOutput(const tString &in asOutput)
void SetOutputId(int alId)

Details

AddActionFactSet

void AddActionFactSet(const tString &in asFact)


Parameters

Returns:

  • void

AddActionFloatOp

void AddActionFloatOp(const tString &in asFact,
                      float afValue,
                      eEventOpType aOpType)


Parameters

Returns:

  • void

AddActionIntOp

void AddActionIntOp(const tString &in asFact,
                    int alValue,
                    eEventOpType aOpType)


Parameters

Returns:

  • void

AddActionStringSet

void AddActionStringSet(const tString &in asFact,
                        const tString &in asValue)


Parameters

Returns:

  • void

AddCriteria

void AddCriteria(const tString &in asFactName)


Parameters

Returns:

  • void

AddCriteriaFloatCompare

void AddCriteriaFloatCompare(const tString &in asFactName,
                             float afValue,
                             eEventCompareType aCompareType)


Parameters

Returns:

  • void

AddCriteriaFloatCompare

void AddCriteriaFloatCompare(const tString &in asFactName,
                             float afMin,
                             float afMax,
                             eEventCompareType aCompareType)


Parameters

Returns:

  • void

AddCriteriaIntCompare

void AddCriteriaIntCompare(const tString &in asFactName,
                           int alValue,
                           eEventCompareType aCompareType)


Parameters

Returns:

  • void

AddCriteriaIntCompare

void AddCriteriaIntCompare(const tString &in asFactName,
                           int alMin,
                           int alMax,
                           eEventCompareType aCompareType)


Parameters

Returns:

  • void

AddCriteriaStringCompare

void AddCriteriaStringCompare(const tString &in asFactName,
                              const tString &in asValue,
                              eEventCompareType aCompareType)


Parameters

Returns:

  • void

GetActionNum

int GetActionNum()

Returns:

  • int

GetCriterionNum

int GetCriterionNum()

Returns:

  • int

GetId

int GetId()

Returns:

  • int

GetName

const tString& GetName()

Returns:

  • const tString&

GetOutput

const tString& GetOutput()

Returns:

  • const tString&

GetOutputId

int GetOutputId(int alId)


Parameters

  • alId (int) —

Returns:

  • int

SetOutput

void SetOutput(const tString &in asOutput)


Parameters

Returns:

  • void

SetOutputId

void SetOutputId(int alId)


Parameters

  • alId (int) —

Returns:

  • void

References

See all references...