Jump to content
Sign in to follow this  
 EO

Vehicle patrol script + vehicle respawn module?

Recommended Posts

I am playing around with an idea that uses the autonomous vehicles patrolling an area using markers and a simple patrol script.....so far so good...

What i'd like to achieve using the vehicle respawn module is once the original vehicles have been destroyed, the respawn module kicks in and makes the respawned vehicles continue to patrol the designated area. Hope this makes sense, and if possible any help would be great:)

Share this post


Link to post
Share on other sites

In the expression field of the respawn module:

[(_this select 0)] execVM "patrolScript.sqf";

Share this post


Link to post
Share on other sites

I will certainly try that out....thanks again JShock:notworthy:

---------- Post added at 20:25 ---------- Previous post was at 18:35 ----------

@JShock, Here's what i've done so far:

Using Kronsky's UPS http://kronzky.info/ups/ I placed an autonomous vehicle , placed a marker named "alpha", placed a vehicle respawn module, synced the module to the vehicle.

When i preview in editor, vehicle starts it's patrol, when i destroy it, the respawned vehicle doesn't move, I want the respawned vehicle to continue patrolling.

I tried your suggestion with no luck:(

Share this post


Link to post
Share on other sites

So in the expression field you put something like the following and it didn't work:

0 = [(_this select 0),"mrkName"] execVM "ups.sqf"

Share this post


Link to post
Share on other sites

@JShock, Wow...and like magic..it works..:yay:

As i know little to zero about coding and scripting....results like this blow my mind...i'd really to learn all that good stuff rather than copy/paste others knowledge.

Thanks again JShock:)

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  

×