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 (Request) Moving Shelf using Secrets Books
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#11
RE: (Request) Moving Shelf using Secrets Books

Without knowing anything about it, I believe "&in" is used when the game istelf feeds you an object as a string. In a collide callback there is no place in the script where you tell call the callback with an object. It just takes any object that collides and passes the naming criteria. So the "&in" part probably means that you're expecting any object.

Technically you do say what you expect in void OnStart, but the function doesn't know that. It just knows that there is a parent and a child, and both could be many different objects.

Trying is the first step to success.
(This post was last modified: 05-08-2017, 09:55 AM by FlawlessHappiness.)
05-08-2017, 09:54 AM
Find


Messages In This Thread
RE: (Request) Moving Shelf using Secrets Books - by FlawlessHappiness - 05-08-2017, 09:54 AM



Users browsing this thread: 1 Guest(s)