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
Sticky Areas
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Sticky Areas

They're tricky little blighters, I say. If you just place one in your map, every single item you pass through it will stick to it. To avoid this, create a function and call it under the area's AttachFunction field. In this function, check to make sure it is the appropriate object you want sticky'd and then use SetAllowStickyAreaAttachment(bool bAllow); to allow it or reject it.

Positioning can be a hassle too, but that's just testing and tweaking. Other than that you shouldn't encounter any issues with them. All the other options under the Area tab are pretty straightforward. Good luck Smile

You can also script the sticky attachment but I haven't explored that method very much.

(This post was last modified: 08-16-2011, 08:25 PM by palistov.)
08-16-2011, 08:23 PM
Find


Messages In This Thread
Sticky Areas - by nemesis567 - 08-16-2011, 07:44 PM
RE: Sticky Areas - by palistov - 08-16-2011, 08:23 PM
RE: Sticky Areas - by Tanshaydar - 08-16-2011, 08:27 PM
RE: Sticky Areas - by nemesis567 - 08-16-2011, 08:40 PM
RE: Sticky Areas - by Apjjm - 08-17-2011, 02:12 AM
RE: Sticky Areas - by nemesis567 - 08-17-2011, 01:11 PM



Users browsing this thread: 1 Guest(s)