Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Part 2
Re: Script Part 2 [message #260206 is a reply to message #260186] Tue, 22 May 2007 16:43 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

crazfulla wrote on Tue, 22 May 2007 18:56

Is it possible for you to post all your 'questions' in one thread?



Yes, or go read up some tutorials on http://www.renhelp.net and
try something, you learn this stuff best by trial and error.

Anyhow, read this through and you should be able to do just that
what you want for the engineers stuff:

Download these txt files and place them in the server\data folder
http://www.game-maps.net/zunnie/ren/cinematics/gdi_engineer_drop_goto_players.tx t
http://www.game-maps.net/zunnie/ren/cinematics/nod_engineer_drop_goto_players.tx t

the only way with existing scripts i believe would be attaching
M03_Goto_Star to the engi's but they will go after all "Stars" or
all "Players" in other words within range.


Create a dave arrow on map, note the ID, we'll call this the "GDIdropoffarrow"
Attach script: JFW_Custom_Play_Cinematic
Message=1000
ScriptName=gdi_engineer_drop_goto_players.txt
Location=xyz location where to drop the bots in gdi base
Facing=0.000

Create another dave arrow on map, note the ID, we'll call this the "NODdropoffarrow"
Attach script: JFW_Custom_Play_Cinematic
Message=1000
ScriptName=nod_engineer_drop_goto_players.txt
Location=xyz location where to drop the bots in nod base
Facing=0.000


Create yet another dave arrow that will "count" messages, double click on this arrow
and change the ID to 100100, we will call this the "CountArrow"
Attach script to countarrow: JFW_Custom_Multiple_Send_Custom with these options:
ReceiveMessage=1500
ReceeiveCount=3
SendMessage=1000
SendParam=1
SendID=<ID of GDIdropoffarrow>

Attach the same script to countarrow again: JFW_Custom_Multiple_Send_Custom this time with these options:
ReceiveMessage=1600
ReceeiveCount=3
SendMessage=1000
SendParam=1
SendID=<ID of NODdropoffarrow>


If you do the above correct, when either team's engineers all three die, a message will be sent
to the count-arrow and a dropoff cinematic will dropoff new engineers at the location your speicified.

Good luck!


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

[Updated on: Tue, 22 May 2007 17:05]

Report message to a moderator

 
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: >.<
Next Topic: Delete this please. :P
Goto Forum:
  


Current Time: Sun Aug 11 04:14:11 MST 2024

Total time taken to generate the page: 0.00763 seconds