Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [LE] Three-Way crap with Dave's Arrows
[LE] Three-Way crap with Dave's Arrows [message #266040] Wed, 13 June 2007 20:49 Go to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
I'm making a Co-Op map through LE and I have a poke-able object that I want to disable a building controller (namely, the Nod Power Plant). I have looked through the scripts and found nothing about DISABLING the building; so I decided to find a script that applied damage to the "building" (JFW_Custom_Destroy_Building) but the parameter "Message" hard. I've been told that you are supposed to setup a custom message through a Dave's arrow and then have the arrow send a response back to the object that you want to (in this case, the Nod PP) to do the action you want it to do (for this case, destory/apply-damage to the building).


I need help understanding this concept and could someone teach me how to do this three-way sh*t with the dave's arrows???


-MathK1LL
Re: [LE] Three-Way crap with Dave's Arrows [message #266045 is a reply to message #266040] Wed, 13 June 2007 20:54 Go to previous messageGo to next message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
Ya, I understand how this works for the most part, I just don't know exactly how to setup the scripts. Could someone please make a VIDEO tutorial and post it on RenHelp.net please?
Re: [LE] Three-Way crap with Dave's Arrows [message #266070 is a reply to message #266040] Wed, 13 June 2007 22:20 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Note the ID of the powerplant controller (example: 123123)

Create a DaveArrow and note the ID of it (example: 124124)
attach the script JFW_Custom_Destroy_Building to it
enter 123123 for the building id/controller
enter 1000 for the message


To the pokable object attach the script
JFW_Poke_Send_Custom or maybe even JFW_Poke_Send_Custom_Cost
which will make the switch only work if you have enough money.

For the ID enter the ID of the DaveArrow 124124 and as message
put 1000 and param 1


Now when someone presses E on the switch it will send a message
(1000) to the object ID you entered (124124). The object that
receives the message will notice the msg is a match and it will
execute the script and kill the building.


"temporary disabling" the powerplant is another thing though,
this will destroy the powerplant and you wont be able to revive
it.



Basically how Customs work:
There is an object that will SEND the message
There is an object that will RECEIVE the message
When the message sent to the receiver is the same as the message
set to 'listen' for it will execute the script and do what that
script is supposed to do.


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Wed, 13 June 2007 22:23]

Report message to a moderator

Re: [LE] Three-Way crap with Dave's Arrows [message #266208 is a reply to message #266040] Thu, 14 June 2007 11:20 Go to previous messageGo to next message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
I understand how these things work but it's confusing where to put what sometimes... Dont Get It Huh

But I'll just play with it a bit and try to get an understanding. Big Ups
Re: [LE] Three-Way crap with Dave's Arrows [message #266219 is a reply to message #266040] Thu, 14 June 2007 12:20 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
I'll try to help you understand it when I home today. I somewhat get it, but doing it on my own is still iffy..


-MathK1LL
Re: [LE] Three-Way crap with Dave's Arrows [message #266227 is a reply to message #266040] Thu, 14 June 2007 12:45 Go to previous message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma: 0
Recruit
I understand how it works, but like I said, not sure on how plugging it in goes, I mean, what if I mix it up somehow? Well, I'll play with it today once the AI Bot Spawner list is finished (just 50 more spawners to go currently).
Previous Topic: bots part 2
Next Topic: Models
Goto Forum:
  


Current Time: Sat Sep 28 03:21:13 MST 2024

Total time taken to generate the page: 0.00686 seconds