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
Mementos WILL WORK NOW! (completed)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Mementos WONT WORK!

If you want to get the memento when you touch something, you must use the correct callback type. Right now you're using a collide callback, meaning the event won't trigger unless the player is located inside the grate, which likely never happens. You must use AddEntityPlayerInteractCallback instead of AddEntityCollideCallback.

Discord is https://discord.com/invite/frictionalgames

(This post was last modified: 07-28-2020, 03:06 AM by Mudbill.)
07-28-2020, 03:06 AM
Find


Messages In This Thread
RE: Mementos WONT WORK! - by kirakatve - 07-27-2020, 09:30 AM
RE: Mementos WONT WORK! - by MaxTheOne - 07-27-2020, 11:31 PM
RE: Mementos WONT WORK! - by Mudbill - 07-27-2020, 02:05 PM
RE: Mementos WONT WORK! - by MaxTheOne - 07-27-2020, 11:30 PM
RE: Mementos WONT WORK! - by Mudbill - 07-28-2020, 03:06 AM
RE: Mementos WONT WORK! - by MaxTheOne - 07-28-2020, 12:38 PM



Users browsing this thread: 1 Guest(s)