Is there a way to use commands in multiplayer?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
BlackHoleFox
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jun 21, 2015 8:07 pm
Contact:

Is there a way to use commands in multiplayer?

Post by BlackHoleFox »

Everytime i try to run a command that involves me it says more then 1 player in this map. Is there a way to specify my player in the command??
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Is there a way to use commands in multiplayer?

Post by Klonan »

In MP instead of refereing to yourself as 'player' You have to give it as 'players[x]' where x is your player index. If you're the first player to join a mapy you're 'players[1]'
Post Reply

Return to “Gameplay Help”