Project X Forums



It is currently Thu May 09, 2024 6:31 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [SOLVED] EAX global variables
PostPosted: Fri Oct 28, 2011 11:34 pm 
Offline

Joined: Fri Oct 28, 2011 11:25 pm
Posts: 2
Hi there, name's Rok, new here. First off, congratulations for this great work.

I need a global variable to be initialized before first use in a function that uses it as a counter; what would be the proper way to do it in EAX?
Trying to assign it a value at the point of declaration gives "unexpected operator =" error.

Atm, I initialize it in an overriden constructor of a (CFilter) class, which I assumed it would be called only once per game.

Thx.


Last edited by Rok on Tue Nov 01, 2011 8:54 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: EAX global variables
PostPosted: Tue Nov 01, 2011 8:52 am 
Offline

Joined: Fri Oct 28, 2011 11:25 pm
Posts: 2
I found a description of script::FirstFrame() function burried somewhere in the wiki which is perfect for the purpose. Thx anyway :P


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane