Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts to grant powerups or weapons
Re: Scripts to grant powerups or weapons [message #256996 is a reply to message #256646] Thu, 03 May 2007 09:15 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
"KAK_Give_Powerup_On_Pickup" will work.
Or if you wanted to get more complicated attach "JFW_Attach_Script_Collector" to the power up, give it "JFW_Timer_Custom" in the script field, in the params spot of the script put "(timer time)#(random number)#0#100334#877856#1", and a delim of #.
Then make an invisible object on the level, with an ID of 100334 or whatever, and add the script JFW_Reflect_Custom. Now back on the powerup use "JFW_Attach_Script_Collector" to attach a script to the object that picks it up, this script should be triggered by the custom 877856. Or if you want to give it a power up, attach the script "jfw_attach_script_custom" on the object, put "m00_grant_powerup" in the script field, name of the weapon in the param field, # in the delim field, and 877856 in the custom field.


[Updated on: Thu, 03 May 2007 09:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Z-Facing
Next Topic: New sydney model
Goto Forum:
  


Current Time: Sun Nov 10 08:19:29 MST 2024

Total time taken to generate the page: 0.00829 seconds