Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » Vetach plugin
Re: Vetach plugin [message #438082 is a reply to message #438078] Mon, 18 October 2010 07:51 Go to previous messageGo to previous message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma:
Recruit
danpaul88 wrote on Mon, 18 October 2010 15:42

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.



its supposed to disable itself when it finds a vtol nearby its so you cant attach vtols ^^
the bugs are mainly in the part where it has to identify a driver or neutral vehicle


Owner of kambot TT server

kambot.freeforums.org
 
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: Sat Dec 14 06:55:29 MST 2024

Total time taken to generate the page: 0.00786 seconds