Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » :S Hostage Script help..
Re: :S Hostage Script help.. [message #349338 is a reply to message #349332] Thu, 04 September 2008 17:28 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

http://www.multiplayerforums.com/index.php?showtopic=5040&st=0

You should use the scripts in leveledit.

Use this dll in leveledit: http://www.game-maps.net/staff/zunnie/hostagemode/scripts344/

Use this dll on the server: http://www.game-maps.net/staff/zunnie/hostagemode/ssgm202/


If you insist on using the scripts.dll to create the hostages you should also have it create the hostage controller and get the ID of that controller object.

You should use it like this then:
Commands->Attach_Script(Commands->Create_Object("Civ_Resist_Male_v2a",host1pos), "z_Hostage","1,0,100,100,2,1000,1010,2020");

Note though that the ControllerID is 1010 in the above script attached, this should be the ID of the object that has the z_Hostage_Controller script attached to it.


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

[Updated on: Thu, 04 September 2008 17:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MP-SP? CO-OP?
Next Topic: melee attacks
Goto Forum:
  


Current Time: Wed Dec 04 11:14:26 MST 2024

Total time taken to generate the page: 0.00683 seconds