MFK Command: SetStageVehicleCharacterVisible

Synopsis

Set if the character is visible in the vehicle.

This allows you to make characters visible in vehicles where the driver is not.

Syntax

SetStageVehicleCharacterVisible( <car>, <character> );
  • car: The name of the car.
  • character: The name of the character to make visible.

Examples

SelectMission("m1");
	...
    
    AddStage();
		AddStageVehicle("cVan","m1_cVan","NULL","cVan.con");
		AddStageVehicleCharacter("cVan", "bart", "sl", 0);	// Bart uses the smoke location in this example.

		// let's assume cVan.con makes the driver invisible.
		// We'll use this to make Bart visible anyways since he's positioned on the outside of the car.
		SetStageVehicleCharacterVisible("cVan", "bart");

    	AddObjective("dummy");
        	...
        CloseObjective();
    CloseStage();
CloseMission();

Notes

No additional notes.

History

1.19

  • Added this command.
Back to top