Call of Duty 4: Scripting Reference - Array::GetStructArray

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


GetStructArray( <Target>, <Target name> )

Module: Array

Summary:

Gets an array of script_structs


Call this on: An Entity

Example:

structs = getstructarray( "initial_spawn_points", "targetname" ); 

Required arguments:

  1. <Target>
  2. <Target name>


Optional arguments:

none


Notes:

  1. The functions parameters are currently not fully known.