Ok, I started V2.7, but I have some ???
Displaying 1-3 of 3 total.
1
ltcmdstarbuck
|
Here are my questions. I know there probably a little dorky:
1. I take it V2.7 requires no compiling, unlike previous versions. Is this correct or did I loose something?
2. I noticed in the sample code that code was placed after the map was called. So it doesn't jump over to the new map code right away? And at what point does it stop reading the System.py and go on to read the newmap.py?
Posted on 2001-10-03 14:35:25
|
Interference
|
1. Yes, the VERGE executable automatically compiles your code for you when you run it.
2. System.py is read first. When a map is loaded VERGE switches to read the map.py until it runs out of commands. It then switches back to system.py until something on the map triggers a function in the map.py. I think.
-- Interference "Today is the dawn of a new error"
Posted on 2001-10-03 15:02:06
|
andy
|
1) yup
2) system.py is executed first. When a map() command is encountered, the new map is loaded, it's script executed, then control resumes at system.py, where it picks up where it left off. This makes stuff like this possible:
def GoOutside(): # this is an event
map.Switch("outside.map")
RespawnParty()
"Ignorance is its own reward" -- Proverb
Posted on 2001-10-04 07:43:22
|