Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » jfw_attach_script_vehicle_created
Re: jfw_attach_script_vehicle_created [message #446684 is a reply to message #446683] Sun, 08 May 2011 04:04 Go to previous messageGo to previous message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma:
Colonel
From readme.txt in scripts344.zip:

JFW_Attach_Script_Vehicle_Created (attaches a script to all objects vehicles when they are created)
	Script (script to attach)
	Params (parameters to use)
	Delim (delimiter, anytime you see this in the "params" string it will be replaced with a comma)
	Player_Type (what player type to attach to, 0 = Nod, 1 = GDI, 2 = any)
Note that all the _Created scripts won't trigger for objects that are placed on the map at startup, only for those created by the game
This includes the players, vehicles they buy, harvesters etc but not preplaced things like the building controlers.
Although there are a few instances where the Object Create Hook might not trip (e.g. certain spawner objects). This is because those objects don't
call through to ScriptableGameObj::Start_Observers (the place where the scripts get started up and the place I am hooking)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: modifying weapons&ammos with serverside scripts.dll
Next Topic: level load
Goto Forum:
  


Current Time: Wed Dec 18 09:44:02 MST 2024

Total time taken to generate the page: 0.01298 seconds