OK, time for some explanations........
First, 30 frames is 1 second (aka 30 fps). You specify sleep time in frames.
Next, when spawning an object you reference it with a local object name. There is a reflexive, number 3, in the scnr tag, that contains a name for all scripted objects. Here's how the reflexive looks:
Code: Select all
struct local objects {
string32 name
enum16 type {
0=bipd
1=vehi
2=weap
6=scenery
7=mach
8=ctrl
}
index16 index
}
Basically, you give the object a name, and then reference the proper placement chunk with the 2 values. You've all seen the Vehicle Placement/Pallette reflexives, etc. This one reflexive points to all of those, based on the enum and index. So if I wanted to reference the first vehicle, I would give it a name "vehicle0" for example, then say its enum is 1 and its index is 0. The placement chunk references the pallette, and gives it coordinates, etc.
I really don't feel like writing another tutorial on how to use a program, but I'll continue to answer questions, so if someone wants to compile a FAQ guide go ahead.