errs and arghs!!
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
ligh99

I downloaded every v2 i could find and finally got one to work, hehe, but now i've run into more problems, vcc, i can compile others games (tried attack of the slimes and worked) but when i try to compile mine i get errors ususally "event expected void got" in my system.vc .. ?? .. i thought system.vc can be set up as
void AutoExec()
{
...
}
void funcs()
{
...
}
..

so i donno, what am i doing wrong??



Posted on 2002-05-20 22:33:31

Mythril

Event expected probably means that you have a map vc-file, and put functions in it. There is a different between the map vc-files and the standard vc-files.
The map vc-files are used to link the events in your maps to code. If you have a event in the map numbered 1, then when that event is activated, the engine will run the second event in the map's vc-file. (Because the first event is event 0, the second is event 1, etc.)
A map vc should therefore look like this:

event {
// this is the 0 event, and will be run when the map is first started. add code here
}
event {
// this will be event 1
// add code here.
}

If you already knew this, then I'm sorry for bringing this up. =P And in that case, we'll need more info to find out what your problem is.



Spoon.

Posted on 2002-05-21 07:08:22


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.