SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 03-30-2017   #1
Blaze The Cat
& Knuckles
 
Blaze The Cat's Avatar
Default Anyone know how to remotely control a player?

I'm still having issues with this.

Code:
COM_AddCommand("dojump", function(p)
	p.cmd.buttons = $ | BT_JUMP
end)

hud.add(function(v, player)
	v.drawString(16, 16, tostring(player.cmd.buttons))
end)
I've tried to get in a way to remotely control a player through their buttons, but it doesn't seem to work; the flags change just fine, but nothing happens.
Blaze The Cat is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.