Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
1 2 3 4 5 … 8 Next »
Stargate EGP status section not updating
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Stargate EGP status section not updating
23-01-2018, 05:58 PM,
#1
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
Stargate EGP status section not updating
For some reason my EGP screen won't update when a stargate is incoming or inactive:

(This is a modified version of my code so you can get the jist of it)
Code:
interval(100) EGP:egpBox(20,vec2(325,30),vec2(300,30)) EGP:egpText(21,"All Systems Nominal",vec2(200,14)) EGP:egpColor(21,vec(0,0,0)) EGP:egpSize(21,30) if(!Stargate:stargateActive()) { EGP:egpSetText(21,"All Systems Nominal") EGP:egpColor(21,vec(0,0,0)) EGP:egpPos(21,vec2(200,14)) } if(Stargate:stargateInbound()) { EGP:egpSetText(21,"Incoming") EGP:egpColor(21,vec(255,0,0)) EGP:egpPos(21,vec2(265,14)) }

The only problem is that when it is incoming, my EGP screen doesnt update from All Systems Nominal to Incoming and vice versa.

Any help?

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
24-01-2018, 12:35 PM,
#2
Kosmos Offline
GMod Admin
Posts: 180
Threads: 3
Joined: Dec 2013
RE: Stargate EGP status section not updating
No clue what you did, but this code
Code:
@name Test @inputs EGP:wirelink Stargate:entity interval(100) EGP:egpBox(20,vec2(325,30),vec2(300,30)) EGP:egpText(21,"All Systems Nominal",vec2(200,14)) EGP:egpColor(21,vec(0,0,0)) EGP:egpSize(21,30) if(!Stargate:stargateActive()) { EGP:egpSetText(21,"All Systems Nominal") EGP:egpColor(21,vec(0,0,0)) EGP:egpPos(21,vec2(200,14)) } if(Stargate:stargateInbound()) { EGP:egpSetText(21,"Incoming") EGP:egpColor(21,vec(255,0,0)) EGP:egpPos(21,vec2(265,14)) }
works perfectly fine. And except for the headers, that's your code.
In other words - Resolved: WORKSFORME
Find
Reply
24-01-2018, 01:35 PM,
#3
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
RE: Stargate EGP status section not updating
Well for some reason the code doesnt work for me Tongue
Ill try again later

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
24-01-2018, 04:57 PM, (This post was last modified: 24-01-2018, 05:07 PM by udop1. Edited 1 time in total.)
#4
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
RE: Stargate EGP status section not updating
This is some more proof it doesnt seem to work:

This is the gate incoming:
http://steamcommunity.com/sharedfiles/fi...1280068247

This is the gate incoming after I refresh the E2 manually:
http://steamcommunity.com/sharedfiles/fi...1280068302

This is after the gate shuts down:
http://steamcommunity.com/sharedfiles/fi...1280068361

This is after the gate shuts down and I manually update the E2:
http://steamcommunity.com/sharedfiles/fi...1280068405

No matter, I have fixed it now

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.