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 Entity collide that uses every entity in the level?
HappyMatt12345 Offline
Junior Member

Posts: 16
Threads: 6
Joined: Oct 2018
Reputation: 0
#3
RE: Entity collide that uses every entity in the level?

(10-22-2018, 04:56 PM)Mudbill Wrote: Unfortunately, wildcards (*) are not allowed in the entity name. There are a couple of ways to achieve this, but they mostly rely on a certain pattern with your allowed entities. Perhaps something you can do is add a "PlayerInteractCallback" in the Entity tab of each object, which all call the same function which will add the collide callback between it and your area. That would minimize a lot of your code, but requires you to add that interact callback to each one via the Level Editor.

Well if thats the way it works, not much anyone can do about that. I guess it will work, but its gonna take a while...
10-23-2018, 12:52 AM
Find


Messages In This Thread
RE: Entity collide that uses every entity in the level? - by HappyMatt12345 - 10-23-2018, 12:52 AM



Users browsing this thread: 1 Guest(s)