Skip to content

Clarify differences between SAY and SAY_EVALUATED #291

@Argent77

Description

@Argent77

The WeiDU documentation provides the following description (and code sample) for SAY_EVALUATED:

Any WeiDU variables (enclosed in %s) inside stringWithVars are replaced by their values and the resulting string (constructed at mod-installation time!) is added to DIALOG.TLK and its string reference it written to the offset. Example:

COPY_EXISTING_REGEXP ~RING.*.ITM~ ~override~
  READ_LONG 0x38 cost
  SAY_EVALUATED IDENTIFIED_DESC
    ~I Am %SOURCE_RES%, I Cost %cost%~

Description and code sample are technically correct. However, the same result can also be achieved simply by replacing SAY_EVALUATED with SAY. What are the notable differences between these two commands?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions