Talk:StrSet

From the Oblivion ConstructionSet Wiki
Revision as of 05:22, 11 August 2007 by imported>Tibixe
Jump to navigation Jump to search

Tibixe, would it be possible to get this to use the standard MessageBox style notation for including variable values? That would extremely useful.
Dragoon Wraith TALK 11:57, 10 August 2007 (EDT)

I can't use '%' because the built-in script interpreter does weird things. What StrSet does is replaces '$' with '%' and passes all the parameters to sprintf() (A C function) This notation is documented here. This is very similar to MessageBox. Tibixe 06:22, 11 August 2007 (EDT)