# Need help understanding 'shooting script'

**URL:** <https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253>\
**Category:** flash\
**Created:** [April 25, 2003, 7:35pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253 "2003-04-25T19:35:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![elion](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elion](https://forum.kirupa.com/u/elion)\
**Post date:** [April 25, 2003, 7:35pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/1 "2003-04-25T19:35:41Z")

</div>

I was going through the tutorial for how to make something shoot stuff, and I got to the point that explains how the script works, but all the big words confuse me. :crazy: I was wondering if someone could explain it a little easier. (-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:36pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/2 "2003-04-25T19:36:31Z")

</div>

1. Link to tutorial

2. Which part exactly didn’t you understand?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:44pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/3 "2003-04-25T19:44:05Z")

</div>

[http://www.kirupa.com/developer/mx/fire2.htm](http://www.kirupa.com/developer/mx/fire2.htm)

Well, I kindof dont understand it overall. :hat:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:46pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/4 "2003-04-25T19:46:26Z")

</div>

read it again. It can’t be explained any simpler than that. It breaks down each line of code and tells you what it does. Just read it carefully and slowly and try to understand…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:48pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/5 "2003-04-25T19:48:52Z")

</div>

“\_root.i += 1 initializes a counter and increments its current value by 1.”

Uhmm… could **that** be explained any easier? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:49pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/6 "2003-04-25T19:49:34Z")

</div>

no.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:50pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/7 "2003-04-25T19:50:21Z")

</div>

all that code does is **ADDS** 1 to the variable “i”

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 25, 2003, 7:50pm UTC](https://forum.kirupa.com/t/need-help-understanding-shooting-script/19253/8 "2003-04-25T19:50:34Z")

</div>

Oh… wait… yeah, I think I get it. 🙂
