Difference between revisions of "StrGetName"
Jump to navigation
Jump to search
imported>Tibixe m |
imported>Tibixe (0.3 already released) |
||
Line 12: | Line 12: | ||
If a new string is required with name directly from a base object, place a 0 between StrGetName and ''baseObject'' | If a new string is required with name directly from a base object, place a 0 between StrGetName and ''baseObject'' | ||
[[Category: Functions (OBSE)]] | [[Category: Functions (OBSE)]] | ||
[[Category: TSFC]] | [[Category: TSFC]] |
Revision as of 04:59, 12 August 2007
Function:
name:stringID [ref.]StrGetName [strToSet:stringID] [baseObject:ref]
Examples:
set PlayerName to Player.StrGetName ; a new variable is returned JaffreRef.StrGetName PlayerName ; no new variable set BaurusName to StrGetName 0 Baurus ; directly from base object
If baseObject is given, name is its name, if notname is the name of the reference's base object.
If strToSet is given, StrGetName sets strToSet to name, if not given, StrGetName returns a new stringID.
If a new string is required with name directly from a base object, place a 0 between StrGetName and baseObject