Help With Code!

Talk about making games.

Help With Code!

Postby Caaz Games » Sat Apr 21, 2007 1:50 pm

I need Help with this code, I want it to load a game on a key down event but only if its on the first frame. here's what i have, but it dosnt work, no error message. it just does not work.
Code: Select all
if(animpos=0)
{
        LoadGame("Lev1.dat")
}
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Postby makslane » Sat Apr 21, 2007 2:55 pm

Use == instead =
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Caaz Games » Sat Apr 21, 2007 3:10 pm

makslane wrote:Use == instead =
Oh Thank You! + Point thingy!
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest