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 Why is this not functioning correctly?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Why is this not functioning correctly?

I doubt the game is renaming the newly-created entity but that the game is searching for the entity in some kind of order-by-creation list, therefore the one in the map first is the one found first when calling SetEntityActive. Try using a local map variable of type int to keep track of the number of orbs created, so that you can increment the name of the orb.

Tutorials: From Noob to Pro
06-30-2013, 12:11 PM
Website Find


Messages In This Thread
RE: Why is this not functioning correctly? - by Your Computer - 06-30-2013, 12:11 PM



Users browsing this thread: 1 Guest(s)