Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.


  • Content count

  • Joined

  • Last visited

Community Reputation

6 Neutral

About MarcoGuy1

  • Rank
  • Birthday 12/18/1995

Profile Information

  • Gender
  • Location:
  1. Photon Sync Issue

    Hey everyone, I am having an issue with having gameobjects sync for each player but instead, it is showing everyone! I forgot the code that allows to sync stuff like that It goes something like 'if photon mine' or something like that, sorry that it seems dumb...
  2. Sandbox Map Or Any Simple Map

    Thanks Everyone, really appreciate it
  3. Sandbox Map Or Any Simple Map

    Hey guys, I was just wondering if anyone has a sandbox Map or any Simple Map in general that I could use for my game as a groundwork for a map that I will be trying to create... Thanks
  4. Photon Graphics

    I had a graphics script where it shows the player models to other players but not to the player itself...but it is not working anymore for some reason, maybe because of it being an old photon script but it was working so I am not so sure... Script 1: public GameObject Graphics Script 2: GameObject pl = Instantiate(Player); pl.GetComponent<PlayerNetwork>().Graphics.SetActive (false);
  5. Photon Synced Countdown Timer

    Hey Everyone! I was wondering if anyone has a countdown timer that is synced through photon (sorry for all of these request). It would really help me out Thanks in advance!
  6. Photon Matchmaking Script

    Hello Everyone I need a simple photon matchmaking script that can hold up to 10 to 20 people or so... I have seen some for unet though. I am able to make a functional lobby system but no matchmaking mode. The script(s) would really help out Thank you very much for taking your time to take a look at this
  7. Shooting and Health Using Photon

    Hey Everyone I've been trying to work on player shooting and health with using photon but after going on forums and stuff like that I just have no idea on what to do or even where to start... If anyone knows a site or some scripts that I can reference/take a look at it would really help. I'm still a newbie at photon kind of when it comes to these things XD Thanks For Taking A Look At This...
  8. Timer works, but I cannot sync it up to the photon network using UnityEngine; using UnityEngine.UI; using Hashtable = ExitGames.Client.Photon.Hashtable; public class HUD : MonoBehaviour { public Text TextComponent; private bool hasStartTime; private int startTime; float minutes = 10; float seconds = 0; float miliseconds = 0; public void Update() { if (!hasStartTime) { return; } if (miliseconds <= 0) { if (seconds <= 0) { minutes--; seconds = 59; } else if (seconds >= 0) { seconds--; } miliseconds = 100; } miliseconds -= Time.deltaTime * 100; //Debug.Log(string.Format("{0}:{1}:{2}", minutes, seconds, (int)miliseconds)); TextComponent.text = string.Format("{0}:{1}", minutes, seconds, (int)miliseconds); } public void OnJoinedRoom() { if (!PhotonNetwork.isMasterClient) { return; } Hashtable ht = new Hashtable(); ht.Add("StartTime", PhotonNetwork.ServerTimestamp); PhotonNetwork.room.SetCustomProperties(ht); } public void OnPhotonCustomRoomPropertiesChanged(Hashtable propertiesThatChanged) { if (propertiesThatChanged.ContainsKey("StartTime")) { hasStartTime = true; startTime = (int)propertiesThatChanged["StartTime"]; } } } Thanks for the help
  9. German HK433 Rifle

  10. Crash Script for the third time?!

    Yes Sorry for the late response
  11. Crash Script for the third time?!

    Third times the charm? using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ItemManager : MonoBehaviour { public Button item1; public Button Clear; public MeshRenderer sight; public MeshRenderer dot; void Start() { sight.enabled = false; dot.enabled = false; { Button btn = item1.GetComponent<Button>(); btn.onClick.AddListener(TaskOnClick); } } void TaskOnClick() { sight.enabled = true; dot.enabled = true; } private void Update() { Button btn = Clear.GetComponent<Button>(); btn.onClick.AddListener(cOnClick); } void cOnClick() { sight.enabled = false; dot.enabled = false; } } I know I know i'm getting a bit annoying now.. please help
  12. EXE Crashes?!

    It did not tell me anything all I have is the error.txt
  13. EXE Crashes?!

    I tried and still
  14. EXE Crashes?!

    Yes, same problem still
  15. EXE Crashes?!

    The EXE Crashes and keeps giving off error logs but it works fine in the editor, please help! If you can help, I would really appreciate it output_log.txt Thanks for taking a look