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 »
vehicle's driver
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
vehicle's driver
02-09-2017, 05:30 PM,
#3
CogHead Offline
TSCM Member
***
Posts: 20
Threads: 6
Joined: Jul 2017
RE: vehicle's driver
After quite a bit of struggle, I believe I managed to solve my issue.
It seems the promblem lay in in the fact, that I took said vehecle's driver before anyone was sitting in it, and never updated that part. Since I couldn't quickly think of a way to update just that part of the code, I believe I managed to update it whenever the Pod changes state.
Code:
if(changed(Pod["Active",normal])) {reset()}
Although this seems obvious now, I'll leave this post here in case someone else is as shortsighted as I am.
I'm not sure I implemented the changed() function correctly, or that it does what I think it should, but the chip seems to work right now.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
vehicle's driver - by CogHead - 01-09-2017, 07:28 PM
RE: vehicle's driver - by Knight - 01-09-2017, 11:34 PM
RE: vehicle's driver - by CogHead - 02-09-2017, 05:30 PM

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