Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Crate location and frequency
Re: Crate location and frequency [message #420068 is a reply to message #419973] Tue, 16 February 2010 01:26 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
My experience with the cinematic files is limited, and what I did know, has since faded. However, I remember it's possible to attach scripts to the objects...

Probably not the most straight forward way to do it, but it should be possible to make your own script on the server that on the ::Created event, does Commands->Set_Visible(obj, false);. This should stop the base defenses shooting the planes...

You could also on that same script start a timer, and on the timer expired event destroys the object. However, I believe if you look at some of the drop vehicle txt files they will give you an example of how to destroy objects directly on the txt file.

If you create this script and add it to your servers solution, then in the text file you should be able to attach that exact script to the objects you're creating (although there probably is a way to use that Commands->Set_Visible(obj, false); part directly in the text file too I would imagine.

I'm at work, so can't be more specific, if this doesn't help, or you need more help, just shout and I will try when I get home...

If you posted your code, and exactly what you're trying to do, then I could probably help you out a bit more...



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CloudyServ download?
Next Topic: Does anyoen have
Goto Forum:
  


Current Time: Sat Dec 21 03:29:36 MST 2024

Total time taken to generate the page: 0.01059 seconds