Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » send custom death script
send custom death script [message #39750] Fri, 15 August 2003 20:08 Go to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
I have a spawning Harvy and I want it to be totally destroyed once the Refinery goes down...Do i use send custom death to the Harvy?,or will it keep respawning and dieing?

"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

send custom death script [message #39767] Fri, 15 August 2003 21:31 Go to previous messageGo to next message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
Well, I don't see why you would need that script for that situation. In any mod, a refinery building controller automaticly destroys the harvester for good...

-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
send custom death script [message #39769] Fri, 15 August 2003 21:35 Go to previous messageGo to next message
Beanyhead is currently offline  Beanyhead
Messages: 549
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Colonel

He's making a SPAWNER, so it'd keep coming back...
send custom death script [message #39777] Fri, 15 August 2003 22:23 Go to previous messageGo to next message
Ugauga01 is currently offline  Ugauga01
Messages: 173
Registered: June 2003
Location: Germany
Karma: 0
Recruit

And what do you wanna do with a Harvy without ref???

Das Leben ist ein scheiß Rollenspiel. -Hat aber eine geile Grafik.
-------------------------------------------------------
The life is a bad RPG. -But it has a great Graphik
send custom death script [message #39780] Fri, 15 August 2003 22:52 Go to previous messageGo to next message
warranto is currently offline  warranto
Messages: 2584
Registered: February 2003
Location: Alberta, Canada
Karma: 0
General (2 Stars)
I don't know how you'd go about doing it but tie in the refinery to the spawn script and have it so that if refinery=0 (or something related to a function of the refinery such as the auto credit accumulation), spawning stops.
send custom death script [message #39801] Sat, 16 August 2003 03:04 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Ok here goes:

Attach "JFW_Death_Send_Custom" to the refinery in question. Make a Dave's arrow near the refinery. Set the parameters of the script accordingly. See below.

ID=<ID of a Dave's Arrow you have placed on the map>
Message=<any number, must be same as the one you will use later, eg 27>
Param=0

Next attach "JFW_Custom_Destroy_Object" to the Dave's Arrow and then set the parameters. See below.
message=<same as the last one you used, eg 27>
ID=<ID number of the harvester spawner you have made on the map>

In theory this should work as your destorying the spawner when the Refinery dies. Let me know if it works or not.


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
send custom death script [message #40089] Sun, 17 August 2003 03:13 Go to previous message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
I made the map without Harvy's...Figured it's only rake in to much Credits anyways....I'll try this script out on the next version of the map....which I'll make in about a few weeks.

"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

Previous Topic: Cammando Editor???
Next Topic: TE Contest!!!!!
Goto Forum:
  


Current Time: Wed Dec 25 06:43:37 MST 2024

Total time taken to generate the page: 0.00846 seconds