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

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 11 12 13 14 15 … 18 Next »
Sorry Person, I found another SF bug...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Sorry Person, I found another SF bug...
25-10-2015, 09:27 PM,
#3
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Sorry Person, I found another SF bug...
I use that :
Also note that I'm changing inputs of Stargate and Iris and also of SBEP doors at runtime on net receive.
Code:
--@name Test --@author Yuri6037 --@sharedscreen if (SERVER) then local Stargate = nil local Iris = nil local Test = nil wire.createInputs({"Stargate", "Iris", "TestSBEP"}, {"Wirelink", "Wirelink", "Wirelink"}) if (not(wire.ports["Stargate"] == nil)) then Stargate = wire.ports["Stargate"] Stargate:addOutputCallback("SGCTRL", function(w, out, var) print(out) --so far no problems it prints all different output changes when dialing/being dialed. end) end if (not(wire.ports["Iris"] == nil)) then Iris = wire.ports["Iris"] Iris:addOutputCallback("SGCTRL1", function(w, out, var) print(out) --Not working at all no print thrown end) end if (not(wire.ports["TestSBEP"] == nil)) then Test = wire.ports["TestSBEP"] Test:addOutputCallback("TestSBEP", function(w, out, var) print(out) --When open/close by SF will print, but when lock by SF then no print at all end) end end

I wrote that from my iPad so this can sometimes be strangely formed...
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Sorry Person, I found another SF bug... - by Yuri6037 - 25-10-2015, 04:42 PM
RE: Sorry Person, I found another SF bug... - by Person8880 - 25-10-2015, 05:18 PM
RE: Sorry Person, I found another SF bug... - by Yuri6037 - 25-10-2015, 09:27 PM
RE: Sorry Person, I found another SF bug... - by Person8880 - 25-10-2015, 09:56 PM
RE: Sorry Person, I found another SF bug... - by Yuri6037 - 26-10-2015, 06:25 PM

  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.