MFK Command: AddObjTargetModel

Synopsis

Specify the name of a model that will advance the objective.

For use inside destroycars and hitpeds objectives.

Syntax

AddObjTargetModel( <model_name> );
  • model_name: The name of the car or character model (depending on the objective type).

Examples

SelectMission("m1");
	...
    
    AddStage();    
    	AddObjective("hitpeds");
        	AddObjTargetModel("marge");
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.18

  • Added this command.
Back to top