EDGE Community
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  EDGE Home
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 For...next loop in coal? « View previous topic :: View next topic » 
Author Message
VNMaster
PostPosted: Sat 23 Jun 2012 11:39 am    Post subject: For...next loop in coal? Reply with quote



Joined: 20 Jun 2012
Posts: 4

Is it possible to make a For...next loop in coal?

LUA syntax seems not working here.


Another question: where can I see a list of doom fonts to be used by coal?


Thanks.-
Back to top
View user's profile Send private message
andrewj
PostPosted: Mon 30 Jul 2012 12:26 am    Post subject: Reply with quote



Joined: 05 May 2007
Posts: 698
Location: Tasmania

fonts.ddf (in doom_ddf folder) defines fonts, but you cannot use them unless their graphics exist in a loaded wad -- e.g. "HEXEN" font won't work without the Hexen iwad.

The for loop syntax in coal is like this:
Code:
for (varname = 1, 5) { ..... }

it can only go upwards, so using something like "for (x = 5, 1)" will not work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

Jump to:  



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 vote in polls in this forum