The documentation for this really needs to change. The description
says that it returns the number of copies of an NPC, but the example
script shows that it returns the number of copies minus one, which I
believe is the correct behavior. I can never remember, though, and
every time I look it up, I
On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote:
The documentation for this really needs to change. The description
says that it returns the number of copies of an NPC, but the example
script shows that it returns the number of copies minus one,
No it doesn't, the example is wrong.
On Tue, May 22, 2012 at 1:39 PM, Ralph Versteegen teeem...@gmail.com wrote:
On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote:
The documentation for this really needs to change. The description
says that it returns the number of copies of an NPC, but the example
script shows that it
On 23 May 2012 05:52, Mike Caron caron.m...@gmail.com wrote:
On Tue, May 22, 2012 at 1:39 PM, Ralph Versteegen teeem...@gmail.com wrote:
On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote:
The documentation for this really needs to change. The description
says that it returns the number
On Wed, May 23, 2012 at 06:04:04AM +1200, Ralph Versteegen wrote:
On 23 May 2012 05:52, Mike Caron caron.m...@gmail.com wrote:
On Tue, May 22, 2012 at 1:39 PM, Ralph Versteegen teeem...@gmail.com
wrote:
On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote:
The documentation for this
Is it appropriate to decrement the counter if you destroy an NPC
mid-loop? For example:
script,do shots(
variable(ctr)
variable(ref)
variable(facing)
variable(destroyed)
# player bullets
for(ctr,0,npccopycount(npc:projectile)--1) do(
destroyed:=false
ref:=npc