This shows you the differences between two versions of the page.
ofp:missions:savestatus [2007-07-12 14:02] snakeman created savestatus initial page |
ofp:missions:savestatus [2007-07-12 14:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== saveStatus ====== | ||
- | Syntax: object **saveStatus** name | ||
- | |||
- | Example: | ||
- | |||
- | <code> | ||
- | player saveStatus "playerstate"; | ||
- | </code> | ||
- | |||
- | This command saves the units status, weapons and equipment he carries, his health status and identity (setIdentity: face type and name set previously in description.ext). | ||
- | |||
- | More examples: | ||
- | |||
- | <code> | ||
- | x = PMC_sf1 saveStatus "sf1_02"; | ||
- | x = PMC_sf2 saveStatus "sf2_02"; | ||
- | x = PMC_sf3 saveStatus "sf3_02"; | ||
- | x = PMC_sf4 saveStatus "sf4_02"; | ||
- | </code> |