Page 1 of 1

Script doesn't define where.

Posted: Mon Aug 21, 2006 6:32 pm
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.

Posted: Mon Aug 21, 2006 8:48 pm
by UntoldLegendxx
I believe the location is in the bloc placement like any other bloc.

Posted: Tue Aug 22, 2006 5:06 am
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.

Posted: Tue Aug 22, 2006 8:22 am
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.