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 Colliding props
ZodiaC Offline
Member

Posts: 120
Threads: 8
Joined: Oct 2012
Reputation: 2
#5
RE: Colliding props

(10-30-2012, 07:13 PM)The chaser Wrote: But, correct me if I'm wrong: "for" is something that repeats itself until arrives to a value, in this case 201. So, if the boxes collide 201 times, the function would be stopped.
Well in that case you could use a "do" loop I am not sure if it works the same way in angelscript but In C++ this is how it works:
do {

} while ( condition );

[Image: 2H1Mc.jpg]
(This post was last modified: 10-30-2012, 09:24 PM by ZodiaC.)
10-30-2012, 09:23 PM
Find


Messages In This Thread
Colliding props - by The chaser - 10-30-2012, 06:53 PM
RE: Colliding props - by FlawlessHappiness - 10-30-2012, 07:02 PM
RE: Colliding props - by The chaser - 10-30-2012, 07:13 PM
RE: Colliding props - by ZodiaC - 10-30-2012, 09:23 PM
RE: Colliding props - by The chaser - 10-30-2012, 09:57 PM
RE: Colliding props - by ZodiaC - 11-01-2012, 02:20 PM
RE: Colliding props - by The chaser - 11-01-2012, 02:42 PM
RE: Colliding props - by ZodiaC - 11-01-2012, 04:03 PM
RE: Colliding props - by The chaser - 11-01-2012, 05:09 PM
RE: Colliding props - by ZodiaC - 11-01-2012, 05:54 PM
RE: Colliding props - by FlawlessHappiness - 10-30-2012, 07:24 PM
RE: Colliding props - by Your Computer - 10-30-2012, 10:05 PM



Users browsing this thread: 1 Guest(s)