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 … 10 11 12 13 14 … 18 Next »
Does that e2 function exist in starfall?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Does that e2 function exist in starfall?
22-12-2015, 11:03 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Does that e2 function exist in starfall?
You shouldn't really be working like this in Starfall. You have events which tell you when "things" happen, and that's your point of change. If you find yourself constantly checking if values are changed you're usually doing something wrong.

For example, for wire inputs, you use the "input" event:
hook( "input", "OnInputChanged", function( Key, Value )
-- The input with name stored under Key now has the value stored under Value.
end )

There's plenty of events to get most changes you'd be interested in. Of course, there's a few cases where there's not an explicit event, but then we'd need to know what you're trying to accomplish to help more.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Does that e2 function exist in starfall? - by esitee - 22-12-2015, 08:37 PM
RE: Does that e2 function exist in starfall? - by SuperPlayer - 22-12-2015, 08:53 PM
RE: Does that e2 function exist in starfall? - by esitee - 22-12-2015, 09:04 PM
RE: Does that e2 function exist in starfall? - by Person8880 - 22-12-2015, 11:03 PM
RE: Does that e2 function exist in starfall? - by esitee - 23-12-2015, 10:08 AM

  • 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.