Script doesn't define where.

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
a mammoth




Droplet

Posts: 1603
Joined: Fri Jul 15, 2005 7:01 pm

Script doesn't define where.

Post by a mammoth »

In this script:

Code: Select all

(script continuous crate_spawner_left
 (begin
   (object_create crate_left00)
   (sleep k_crate_spacing)
   (object_create crate_left01)
   (sleep k_crate_spacing)
   (object_create crate_left02)
   (sleep k_crate_spacing)
   (object_create crate_left03)
   (sleep k_crate_spacing)
   (object_create crate_left04)
   (sleep k_crate_spacing)
   (object_create crate_left05)
   (sleep k_crate_spacing)
   (object_create crate_left06)
   (sleep k_crate_spacing)
   (object_create crate_left07)
   (sleep k_crate_spacing)
))
It never defines where the crates are spawned, so I am wondering how do you define where it spawns. Also it says for sleep k_crate_spacing, I thought this would be a number, but its a string so how do I change the sleep time? Another thing is theres no object crate_left00 crate_left_01 etc. so what do those point to? Sorry for asking noob questoins.
My real name is a Mammoth, if someone who cares sees this, please change my name to a Mammoth
UntoldLegendxx





Posts: 583
Joined: Tue Apr 18, 2006 3:23 pm
Location: Earth

Post by UntoldLegendxx »

I believe the location is in the bloc placement like any other bloc.
a mammoth




Droplet

Posts: 1603
Joined: Fri Jul 15, 2005 7:01 pm

Post by a mammoth »

how does it call that bloc in the script since its not a bloc in the game, it doesn't make any sense.
My real name is a Mammoth, if someone who cares sees this, please change my name to a Mammoth
UntoldLegendxx





Posts: 583
Joined: Tue Apr 18, 2006 3:23 pm
Location: Earth

Post by UntoldLegendxx »

Well if your talking about elongation and the crates that fall, If you look at it in the bsp viewer, you will see the crates above the spot they fall. I just don't know how the script works.
Post Reply