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 … 13 14 15 16 17 18 Next »
Starfall Help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Starfall Help
24-05-2015, 08:22 PM, (This post was last modified: 24-05-2015, 08:24 PM by Alanzote.)
#8
Alanzote Offline
TSCM Member
***
Posts: 123
Threads: 40
Joined: Oct 2013
RE: Starfall Help
(24-05-2015, 08:20 PM)Person8880 Wrote: What sets the value? What needs to watch it for changes?

If you're setting the value yourself, then you can just run the code that needs to run when it's changed at the point you set the value.

For the nil value, post exactly what you have for the loop and the array.
When you start the chip, the value is 0 and by chat commands the value is changed.

EDIT:
NIL PROBLEM

timer.create("Alert", 0.5,0, function()
if Alert == 1 then
for I = 0, #Corridors do
Corridors[I]ConfusedetSubMaterial(5, "phoenix_storms/pack2/redlight")
end
end
if Alert == 0 then
for I = 0, #Corridors do
Corridors[I]ConfusedetSubMaterial(5, "models/debug/debugwhite")
end
end
end)

[Image: stargate_kawoosh_animation_HD_by_SergeyDruid.gif] [Image: kecepatan-cahaya-light-speed-warp-drive2....gif?w=640]
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Starfall Help - by Alanzote - 24-05-2015, 07:36 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:00 PM
RE: Starfall Help - by Blackhawk - 24-05-2015, 08:01 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:05 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:12 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:13 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:20 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:22 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:25 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:33 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:34 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:36 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:39 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 09:34 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 09:48 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 09:51 PM
RE: Starfall Help - by Alanzote - 25-05-2015, 10:07 PM
RE: Starfall Help - by SuperPlayer - 25-05-2015, 10:39 PM
RE: Starfall Help - by Alanzote - 25-05-2015, 10:59 PM
RE: Starfall Help - by SuperPlayer - 25-05-2015, 11:13 PM
RE: Starfall Help - by Alanzote - 26-05-2015, 02:47 PM
RE: Starfall Help - by SuperPlayer - 26-05-2015, 03:57 PM
RE: Starfall Help - by Person8880 - 26-05-2015, 05:52 PM
RE: Starfall Help - by Alanzote - 26-05-2015, 09:51 PM
RE: Starfall Help - by Alanzote - 27-05-2015, 02:12 PM
RE: Starfall Help - by TheOneAndOnlyTee - 27-05-2015, 02:11 AM
RE: Starfall Help - by Red The Blue Color - 27-05-2015, 08:33 AM
RE: Starfall Help - by TheOneAndOnlyTee - 27-05-2015, 08:47 AM
RE: Starfall Help - by Person8880 - 27-05-2015, 05:40 PM
RE: Starfall Help - by Alanzote - 27-05-2015, 09:36 PM
RE: Starfall Help - by Alanzote - 28-05-2015, 02:37 PM
RE: Starfall Help - by Blackhawk - 28-05-2015, 04:10 PM
RE: Starfall Help - by Alanzote - 03-06-2015, 12:16 AM
RE: Starfall Help - by Alanzote - 30-05-2015, 11:13 PM
RE: Starfall Help - by Red The Blue Color - 31-05-2015, 01:42 AM
RE: Starfall Help - by Alanzote - 31-05-2015, 09:30 PM
RE: Starfall Help - by SuperPlayer - 31-05-2015, 09:37 PM
RE: Starfall Help - by Destiny's Player - 03-06-2015, 12:25 AM
RE: Starfall Help - by Person8880 - 03-06-2015, 05:57 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 04:21 PM
RE: Starfall Help - by SuperPlayer - 16-06-2015, 04:54 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 05:28 PM
RE: Starfall Help - by Person8880 - 16-06-2015, 05:53 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 06:01 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.