Author Topic: Server Logic  (Read 3998 times)

xtra

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Server Logic
« on: March 05, 2013, 03:05:23 PM »
hi
i have a little question.
sorry my english is not very good.

i wish to add some channel states and i wish to assign a spawn location to the players who join a channel.
can you give me a hint, where i must place the code?

thank you!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Server Logic
« Reply #1 on: March 06, 2013, 12:44:14 AM »
All remote function calls sent with a Target.AllSaved or Target.OthersSaved will be saved, so future players that join will receive these packets. It's the easiest way to do that. In the next version of TNet you will also be able to specify channel data (string), letting you add persistent information to a channel that's visible on the channel list.