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
Interesting question, would this work?
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Interesting question, would this work?

If every function does same thing, just call same function. If every function does different thing, you can create different functions or in one function like this:

if(asEntity == "thing1")
{
do this;
return;
}

if(asEntity == "thing2")
{
do this;
return;
}

if(asEntity == "thing3")
{
do this;
return;
}

etc.

07-16-2011, 04:32 AM
Website Find


Messages In This Thread
RE: Interesting question, would this work? - by Tanshaydar - 07-16-2011, 04:32 AM



Users browsing this thread: 1 Guest(s)