Re: RELEASE: DaiZy Chernarus 1.7.6.1 FACTIONS 1.7.1 [05/21 UPDATED w/ Patroling choppers]
Posted by
raw003 on
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/RELEASE-DaiZy-Chernarus-1-7-6-1-FACTIONS-2-1-07-11-FINAL-RELEASE-tp4144p6947.html
Haleks wrote
raw003 wrote
is it possible to set a bandit trigger and give them a walkabout radius limit? i want to create a few bandit squads and plop em in a few of my fortifications i've created.
also, would be cool if a bandit squad runs into a base, and they could make it there own (like a trigger could be set to GUARD or something that allow them to..). idk if it is possible, but its just a few of the ideas i want to try out.
btw im not so good with scripting, could someone gimme a hand if scripting is involved in my ideas :)?
I presume you already know how to open the mission file. Look for the
doSomething_bandits.sqf file in "scripts\mission\fnc". You'll want to edit this line :
[_eastGrp, _pos, 250] call fnc_taskPatrol;
250 is the distance in meters between each waypoint created by the taskPatrol function : it generates 3 up to 5 waypoints. Just change that number accordingly ;)
As for the bandits capturing a base - you would first need to prevent Zeds from spawning there; wich is beyond my knowledge right now :(
EDIT : don't forget to create a new doSomething_yourbandits.sqf file if you don't wanna change all the bandits.
so can i have more than one script on this??
like have one line say "[_eastGrp, _pos, 250] call fnc_taskPatrol;"
and another say "[_eastGrp, _pos, 50] call fnc_taskPatrol;"
i don't really know how to do this, so pretty much from my understanding I copy from the top-down of "doSomething_bandits" script and paste it underneath? (duplicating and changing the distance in meters).
and to get it to work, im assuming I go to Main menu, click Singleplayer, click editor and from there i do as follows...
- Slap down one of those triggers on a fortification i've built for em
- Paste '(vehicle player) in thislist;' in "Condition" inside the trigger i presume from the other triggers.
- Plop in the "[_eastGrp, _pos, 50] call fnc_taskPatrol;" under "On Act".
or to cut it down straight : do i pretty much just have the same as the other bandit triggers and just have "[_eastGrp, _pos, 250] call fnc_taskPatrol;" ~~~~~~ instead of ~~~~~~ "_nul = call fnc_doSomething_bandits;"?
not so sure if im doing it the right way, maybe im completely doing it wrong lol.