FilterPlayer

From PGE Wiki
Jump to navigation Jump to search

Prototype

FilterPlayer,-,P1,P2,-,Active time,-

Description

If the player is P1, change them to P2 instead, so long as active time hasn't run out. Use to keep certain characters out of levels you don't want them in.

Notes

P1 and P2 are Player IDs. They're numbers 1 2 3 4 or 5.

1 = Mario / Demo 2 = Luigi / Iris 3 = Princess 4 = Toad / raocow 5 = Link / Sheath


Examples

// Change Link into Mario
FilterPlayer,0,5,1,0,0,0


// Force Princess (filter all other characters to be princess instead)
FilterPlayer,0,1,3,0,0,0
FilterPlayer,0,2,3,0,0,0
FilterPlayer,0,4,3,0,0,0
FilterPlayer,0,5,3,0,0,0