Jump to content
Sign in to follow this  
cael817

Can i turn this into an array?

Recommended Posts

Can i turn this into an array?

expCond="(""LandVehicles"" countType thislist > 0) && ((getpos (thislist select 0)) select 2 < 1)";

Its part of the trigger for xenos x_reload script and i would like it to affect all vehicles, well not "AllVehicles" and that work work ;-) but i really want it to trigger on Landvehicles, Air and Ship not players etc. So can one insert an ["Landvehicles",Air",Ship"] in there? im as you realise still very much learning and i can manage some but i could not get this to work (if possible at all).

Share this post


Link to post
Share on other sites

((""LandVehicle"" countType thislist > 0) || (""Air"" countType thislist > 0)  || (""Ship"" countType thislist > 0)) &&

Et cetera, et cetera.

Edited by Jacmac

Share this post


Link to post
Share on other sites

Thanks Jacmac, much appreciated

Isn't it "landvehicle" not "landvehicles"

Yep, thats rights, i had "AllVehicles" in there as a test and changed it for this topic and ofc i got i wrong =)

Thanks for the correction!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×