The Dink Network

Reply to Re: Script question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 19th 2002, 04:52 PM
wizardg.gif
Paul
Peasant He/Him United States
 
: Does someone can do something like this?:

: void main (void)

: {

: int &var;

: int &wiz;

: &var = 0;

: if (&var == 0)

: {

: //cutscene

: &var = 1;

: }

: }

: I just don't wanna waste the 200 global limit with so short cutscenes...

I'm not sure I understand. Why would you set a variable to 0 and then test if it's 0 right afterwards?

If all you want to do is run the cutscene every time, you don't need a variable or test at all.