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
thetastyfish Offline
Junior Member

Posts: 18
Threads: 6
Joined: Feb 2013
Reputation: 0
#11
RE: limit number of dynamically created entities

(02-12-2013, 09:05 PM)palistov Wrote: 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)

I want to know how to make a spider follow me around!! That would be intense. I could really make that work in the attic map of my project. How exactly did you do that? I'm not asking for your exact code, because that would be plagiarism or something, but what did you do?
02-20-2013, 04:51 AM
Find




Users browsing this thread: 1 Guest(s)