Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
limit number of dynamically created entities
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#10
RE: limit number of dynamically created entities

There's a couple things you could try to "move" entities without destroying them. Mind you I've never tried any of these, so it will take some experimentation on your part, these are just suggestions.

1) Sticky areas. After you've created 50 rocks, start recycling them from 1 to 50 using AttachPropToStickyArea and DetachFromStickyArea
2) Create "dummy"entities instead of script areas and use AddAttachedPropToProp and RemoveAttachedPropFromProp (this might do you well, I made a spider follow a player around like a pet using these. It was kinda cute)

02-12-2013, 09:05 PM
Find


Messages In This Thread
RE: limit number of dynamically created entities - by palistov - 02-12-2013, 09:05 PM



Users browsing this thread: 1 Guest(s)