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
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Colliding props

(10-30-2012, 09:23 PM)ZodiaC Wrote:
(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 );
I don't know if that exists in Angel script, but, how does it work? An example, please Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-30-2012, 09:57 PM by The chaser.)
10-30-2012, 09:57 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)