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 Script help
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#4
RE: Script help

Well, that may be a bit difficult. You'll have to use the "AddEntityCollideCallback" script on each book.

Like this:

AddEntityCollideCallback("book_1", "ScriptAreaName", "book_1_function", true, 1);

AddEntityCollideCallback("book_2", "ScriptAreaName", "book_2_function", true, 1);


etc.

If you want like "if one book triggers that, the others can no longer" kind of thing, that will need a "Local" or "Global" int. Something that I am working with right now.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 09-14-2012, 01:40 PM by Robby.)
09-14-2012, 01:35 PM
Website Find


Messages In This Thread
Script help - by Vasco - 09-14-2012, 12:59 PM
RE: Script help - by Robby - 09-14-2012, 01:01 PM
RE: Script help - by Vasco - 09-14-2012, 01:32 PM
RE: Script help - by Robby - 09-14-2012, 01:35 PM
RE: Script help - by FlawlessHappiness - 09-14-2012, 01:39 PM
RE: Script help - by Robby - 09-14-2012, 01:40 PM
RE: Script help - by Wapez - 09-14-2012, 02:33 PM
RE: Script help - by Vasco - 09-14-2012, 04:01 PM



Users browsing this thread: 1 Guest(s)