Is there a Create a class script for the boot camp demo?

Options
alzan
edited May 2011 in DotNet
Is there a Create a class script for the boot camp demo?

Comments

  • Boris
    Options
    Not sure I understand what kind of script that would be?
  • alzan
    Options
    I made a Create a class menu. The done button sends the gun number to a gameobject. message = "SelectGun" + gun; gun is 1 2 or 3. I need some help making this work with Photon Bootcamp Demo. So players can create a Class. The files are to big to send through this post.
  • Tobias
    Options
    So you would have to send the "SelectGun" message to others?
    I think we're still confused what you need to sync.
  • Boris
    Options
    In the bootcamp demo the weapon selection is stored as actor property: "W" + weapon Id.
    GunManager.Update selects the current weapon of the local player, and PlayerLocal.SetGunInfoRPC sends it to the server. PlayerRemote.SetProperties receives it from the server (from other players).
  • alzan
    Options
    Thanks i'll see if i can get it working.