Welcome,
Guest
. Please
login
or
register
.
February 17, 2025, 12:16:56 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
Specify Targets
« previous
next »
Print
Pages: [
1
]
Author
Topic: Specify Targets (Read 1817 times)
Manmax75
Newbie
Thank You
-Given: 0
-Receive: 3
Posts: 32
Specify Targets
«
on:
July 25, 2013, 01:04:19 AM »
Hello,
How may I specify which players will recieve my packet?
Right now I'm sending UDP packets from the authoritative client with:
tno
.
SendQuickly
(
1
, Target
.
Others
, data
)
But now I need to make it so the owner of the object doesn't get the data as well as the authoritative client not getting the data.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Specify Targets
«
Reply #1 on:
July 25, 2013, 03:43:20 AM »
For what you're trying to do: simply ignore the packet on the client that has tno.isMine set to 'true'.
For private messages: instead of sending it to Target.Others, specify a target player instead.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
Specify Targets