Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: It should work, but meh :/  (Read 816 times)

0 Members and 1 Guest are viewing this topic.
It should work, but meh :/
« on: January 23, 2007, 11:21:33 pm »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
I just had in the step event of an object:

visible = objHUD.mySing;

objHUD's mySing variable can be 0,1, or 2. It didnt work, but still, shouldnt it take the 0 into account? It just remains visible... I just changed it to an if, but meh. Maybe it can only be a boolean? :/
Logged
the a o d c

Goodnight

Once and future Captain
Re: It should work, but meh :/
« Reply #1 on: January 23, 2007, 11:44:34 pm »
  • With a Capital G
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 706
Seems to work for me. :-\
Try checking that object's visible, and objHUD's mySing in Debug mode.
Logged
Re: It should work, but meh :/
« Reply #2 on: January 24, 2007, 12:13:30 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
I know it works, because in the draw event for some other objects, it checks the mySing and works perfectly. Ill just leave it for now, but I just wanted to make sure what I was doing was not stupid.
Logged
the a o d c
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.06 seconds with 43 queries.