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 »
getmetatable("Entity") and stragateUnstable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
getmetatable("Entity") and stragateUnstable
06-11-2015, 08:28 AM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
getmetatable("Entity") and stragateUnstable
Hey Person,

I have a few requests about Starfall. The first one would be about a function I found on the original stargate starfall lib on main CAP github : stargateUnstable. Is there any way you can add this function ? For example on my last screen I wanted to make the vortex gl.glCircle red instead of green when the vortex is unstable.

And for the second request well I'm not sure you can do that, what I'd like to have is a getmetatable("Entity"). So, you might ask me why ? And is it realy nessessary ?
Well to answer the first question, I plan on recreating the wire lib and interface because it's too complex to use. So I'd like to make a complete framework for Wiremod integration. However I plan on adding a new function to entities : GetWirelink(), the function is intended to return a special type of wirelink that will represent a framework's wirelink.

Also, it's not realy nessessary, but it would be cool look syntax... Yeah I know it's just to make more cool syntax.
This way I could make ent:GetWirelink():SetInt/SetBool/SetString/SetBin/SetNum/GetInt/GetBool/GetString/GetBin/GetNum
And I could also do ent:GetWirelink():SetOutputListener(OutputName, Callback).

All of that just because I begin to think the wire lib becomes a bit complicated.

Thanks by advance,
Yuri6037
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
getmetatable("Entity") and stragateUnstable - by Yuri6037 - 06-11-2015, 08:28 AM
RE: getmetatable("Entity") and stragateUnstable - by Person8880 - 06-11-2015, 07:04 PM
RE: getmetatable("Entity") and stragateUnstable - by Yuri6037 - 06-11-2015, 10:19 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.