Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Combination of scripts required
Combination of scripts required [message #78655] Sun, 11 April 2004 04:17 Go to next message
weetbix is currently offline  weetbix
Messages: 16
Registered: May 2003
Karma: 0
Recruit
Hi guys

I'm looking for a combination of scripts that will destroy a certain object when that object moves into a certain zone and give X number of points to the team that put it into the zone(side specific).

ie. In soccer when a team gets the ball(object) into the goal(zone).
Combination of scripts required [message #78658] Sun, 11 April 2004 04:53 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok.
Put JFW_Give_Points_On_Death on the "ball".
Put JFW__Zone_Send_Custom_Preset on the "goal". (you can set this one to only trigger on a certain preset)
Have that send to JFW_Custom_Destroy_Object to destroy the object.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Combination of scripts required [message #78936] Sun, 11 April 2004 21:48 Go to previous messageGo to next message
weetbix is currently offline  weetbix
Messages: 16
Registered: May 2003
Karma: 0
Recruit
Having done what you said to do I find it's still not working.

Here is the information about the scripts and how I have set them up. (NOTE: This is for a RenAlert Map (Using scripts 1.5))

Script Zone (Goal)
- ID: 100008
- Script Attached: JFW_Zone_Send_Custom_Preset
Daves Arrow
- ID: 100007
- Script Attached: JFW_Custom_Destroy_Object
Ore Truck Spawner
- ID: 100009
- Name: Soccer Spawner
- Script Attached: None
Ore Truck (Ball)
- ID: 1000000008
- Name: CnC_Ore_Truck
- Script Attached: JFW_Give_Points_On_Death

Script Parameters

JFW_Zone_Send_Custom_Preset
- ID: 100007
- EnterMessage: 123
- EnterParam: 1
- ExitMessage: 0
- ExitParam: 0
- Player_Type: 2
- Preset_Name: CnC_Ore_Truck
JFW_Custom_Destroy_Object
- Message: 123
- ID: 1000000008
JFW_Give_Points_On_Death
- Points: 1.00
- Player_Type: 2
- Whole_Team: 0

The problem is the "ball" isn't blowing up.


WOL: - davrulezz
- dkracing0
Combination of scripts required [message #79011] Mon, 12 April 2004 01:31 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

try replacing JFW_Custom_Destroy_Object with JFW_Blow_Up_On_Custom.

This will make an explosion at the location of the zone (you can select which one).

Hope that works.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Previous Topic: Goldeneye Stuff
Next Topic: Does anyone actually care about the scripts.dll anymore?
Goto Forum:
  


Current Time: Mon Nov 11 18:41:03 MST 2024

Total time taken to generate the page: 0.01223 seconds