help me.

Non-platform specific questions.

help me.

Postby pavel329 » Mon May 29, 2006 5:19 pm

how do i make an ammo count?and how do i make it where when my ammo is gone i can't use fireballs any more?
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby makslane » Mon May 29, 2006 5:44 pm

Create a variable (actor, integer) ammo_count

In the Create Actor event, set the value:

ammo_count = 10; //for example

To create the bullets, just do:

if(ammo_count > 0)
{
//Create the bullets here
ammo_count--;
}
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby pavel329 » Mon May 29, 2006 6:38 pm

um?????wich part of that do i put in the script?
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest