Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » Vetach plugin
Re: Vetach plugin [message #438078 is a reply to message #438008] Mon, 18 October 2010 06:42 Go to previous messageGo to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
Hmm, your script seems to disable itself if there is a VTOL on the map which is not the one you are driving and is older than any vehicles within 12m of your VT_CarryAll vehicle... (note: BaseGameObjList is NOT in order of distance from the current object, but in order of when they were created)


Specifically this bit;

if(Is_VTOLVehicle(o)||Is_Script_Attached(o,"VT_CARRYALL_ATTACHED"))
				{
					Remove_Script(obj,"VT_CarryAll");
					return;
				}



From what I can see you iterate through EVERY object in the game, so if it hits this one BEFORE it hit's the one which can be attached (ie: within 12m of you) it's going to cancel itself.


http://steamsignature.com/card/1/76561197975867233.png
 
Read Message
Read Message
Read Message
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: [skin] Doom Door
Next Topic: [Skin] Duke 3D door
Goto Forum:
  


Current Time: Thu May 09 01:24:45 MST 2024

Total time taken to generate the page: 0.00767 seconds