Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help The books script
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: The books script

for(int i = 1; i < 20; i++)SetEntityActive("Book_" + i, false);

Not tested, not 100 percent sure if that'll do it. Been doing modeling for the past little while and haven't been doing any scripting, so I'm a bit rusty.

Otherwise, you could use
SetEntityActive("Book_*". false);
That would make everything with the prefix of Book_ be affected by the script.

10-05-2012, 11:00 PM
Find


Messages In This Thread
The books script - by The chaser - 10-05-2012, 10:00 PM
RE: The books script - by Obliviator27 - 10-05-2012, 11:00 PM
RE: The books script - by Rapture - 10-05-2012, 11:24 PM
RE: The books script - by The chaser - 10-05-2012, 11:34 PM
RE: The books script - by str4wberrypanic - 10-05-2012, 11:48 PM
RE: The books script - by Adny - 10-05-2012, 11:53 PM
RE: The books script - by Kreekakon - 10-06-2012, 03:46 AM
RE: The books script - by Adny - 10-06-2012, 04:00 AM



Users browsing this thread: 1 Guest(s)