MFK Command: RemoveStageVehicleCharacter

Synopsis

Remove a character from a stage vehicle or the player's car upon reaching the stage.

Syntax

RemoveStageVehicleCharacter( <car>, <character> );
  • car: The name of the car to remove the character from.
    • current: In this case, current refers to the car the player had when the character was added. Not the one they have in the stage this is called.
  • character: The name of the character to remove from the car.

Examples

SelectMission("m1");
	...
    
    AddStage();
		// Add Apu here.
		AddStageVehicleCharacter("current","apu");

    	AddObjective("dummy");
        	...
        CloseObjective();
    CloseStage();
    
    AddStage();
		// Remove him here.
		RemoveStageVehicleCharacter("current","apu");

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

Notes

This can only be used on characters added with AddStageVehicleCharacter.

History

1.19

  • Added this command.

Revision #1
Created Tue, Oct 2, 2018 10:30 PM by Loren Goodwin
Updated Thu, Mar 7, 2019 11:14 PM by Loren Goodwin