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
How to convert a string to an integer?
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#3
RE: How to convert a string to an integer?

You would use it like this:

SetEntityActive("crowbar_joint_"+bigman, true);

With bigman as LocalInt of course.

Edit: Oh, for multiple areas. Just do:

for(int i=1;i<10;i++) SetEntityActive("crowbar_joint_"+i, true);
(This post was last modified: 06-11-2011, 07:58 AM by MrBigzy.)
06-11-2011, 07:41 AM
Find


Messages In This Thread
How to convert a string to an integer? - by cook - 06-11-2011, 05:26 AM
RE: How to convert a string to an integer? - by MrBigzy - 06-11-2011, 07:41 AM



Users browsing this thread: 1 Guest(s)