Target_SetShader( <target entity>, <materialname> )


Module: Objective
SP Only

Summary:

Changes the material of a target. The target must have already been created with target_set()



Example:

Target_SetShader( enemy_chopper, "locked_on_shader" );



Required Args:

  • 1 : <target entity> The entity that is the target
  • 2 : <materialname> The shader for the quad drawn over the target