tienmeister Posted January 15, 2017 Share Posted January 15, 2017 For example, I am the host and I want to apply the damage modifier command (ThePlayer.components.combat.damagemultiplier = value) to a certain player on my server, but I have tried the "for k, v..." from the wiki but it still does not work for that player. Can you guys help me with it please? Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/ Share on other sites More sharing options...
GentlemanFridge Posted January 16, 2017 Share Posted January 16, 2017 Don't take my word for it, but I think entering "GetPlayer(playernumber).components.combat.damagemultiplier = value" should work. That is, when you have the playernumber available. There is a mod, Too Many Items, that has some instant-commands you can use. Enter the playernumber or name and then click on the thing you'd like to happen. It can even make Zeus angry on demand. Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-858721 Share on other sites More sharing options...
BluesyBuesy Posted January 17, 2017 Share Posted January 17, 2017 for k,v in pairs(AllPlayers) do if v.name == "YourFriendsName" then v.components.combat.damagemultiplier = value end end Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-858829 Share on other sites More sharing options...
TheMightyPikachu Posted January 17, 2017 Share Posted January 17, 2017 im sure you can replace "ThePlayer" with "UserToPlayer(playernumber)" Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-858873 Share on other sites More sharing options...
tienmeister Posted January 18, 2017 Author Share Posted January 18, 2017 worked like a charm, thank you guys so much! Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-859287 Share on other sites More sharing options...
tienmeister Posted January 19, 2017 Author Share Posted January 19, 2017 now that my problem is solved, any of you know the command to get lucy the axe usable by other characters? Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-859446 Share on other sites More sharing options...
GuyNamedChris Posted January 19, 2017 Share Posted January 19, 2017 7 hours ago, tienmeister said: now that my problem is solved, any of you know the command to get lucy the axe usable by other characters? I don't know the command, but I can tell you it's not gonna make them chop as fast as Woodie. That's a perk reserved for him. Link to comment https://forums.kleientertainment.com/forums/topic/73396-how-to-apply-a-console-command-to-other-players/#findComment-859550 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.