| 
		
			| Re: spawn an ion beacon [message #249955 is a reply to message #249946] | Thu, 15 March 2007 09:44  |  
			| 
				
				|  |  Jerad2142 Messages: 3825
 Registered: July 2006
 Location: USA
 
	Karma: 
 | General (3 Stars) |  |  |  
	| There are two ways of doing it the first one is simplier but the second method allows for more options. First you create a script zone and attach the script “JFW_Attatch_Script” to the zone, then give it the following settings to it:
 Trigger: “1”
 Player_Type: team that should get the powerup (1=GDI, 0=Nod)
 Script_Name: “M00_GrantPowerup_Created”
 Script_Params: give this the name of the POWER UP not weapon but POW that you would like the object to get on zone entry.
 Delim: “#”
 Destroy: “0”
 Custom: “0”
 
 Or if you want each infantry to get its own different weapon form the zone this is how you would do it:
 
 You will have to use multiple scripts, the easiest way to do it (unless you know how to script) would be to attach a script to each soldier to each soldier that could get the beacon.
 The script is called “JFW_Attach_Script_Custom” you should set the following settings to it:
 Script: “M00_GrantPowerup_Created”
 Script_Params: put the name of the POWER UP that you would like to attach
 Delim: “#”
 Custom: “7947854”
 
 Then attach the script “TDA_Send_Custom_Zone” to the script zone.
 Enter_Message: “7947854”
 Enter_Param: “1”
 For Both Exit settings put 0
 For team put the team that you want to grant a power up (0=Nod 1=GDI)
 If you have any questions just ask.
 
 
 
  Visit Jerad's deer sweat shop |  
	|  |  |