Call of Duty 4: Scripting Reference - File::FPrintFields

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


FPrintFields( <filenum>, <output> )

Module: File

Summary:

Writes items out to a script-controlled file, inserting a comma in-between each one.


Call this on:

Example:

 FPrintFields( filenum, Player, Health, WeaponName );  //output to file: JohnnyBoy,100,M16

Required arguments:

  1. <filenum> The number of the script file.
  2. <output> The string to be output


Optional arguments:

none


Notes:

none