Try this:
if (!_inVehicle and _canDo) then {
That will make it to where the option will pop up as long as you're not mounted in a vehicle and are not on a ladder. Make sure the two conditions _inVehicle and _canDo are defined above this chunk.
Yeah it would. It would just remove the "pickyness" of when the option should show up. The only reason why I made it so particular was to keep it from being up all the time since it's a scroll option. But yep, for testing, you can remove some of those conditions and see what happens.
B
It would be something like that, Kaotix. The s_player_tauntzed playeraction is irrelevant as it's set to -1 in the event that it doesn't exist.
Placement of the section might have something to do with it. It needs to be above the larger section when dealing with a !isNull CursorTarget. It...
Ok cool Kaotix, let me know. Thanks for the response by the way. What I posted in the Code section is directly from my running server. I used the taunt last night once too.
Hey Kaotix, let's verify we've got the same thing in fn_selfActions.sqf which motivates the option to pop up:
// Taunt Nearby Zombies if player has hunting knife and has a "live" zombie targeted (35 or less distance to player)
if ((cursorTarget isKindOf "zZombie_base") and (alive...
Howdy Kaotix, it doesn't need to be added to the bottom of fn_selfActions.sqf or to variables.sqf. Are you sure when you're trying it out that you're in range of the target (under 36m) and have the zombie targetted on the cursor? You may have to turn cursor on to verify it.
Ah ok, I got it. Not a bad idea! I like it. However, would you consider adding a couple more balancing factors in such as requiring more particular types of inventory items? I know scrap metal is rare and when found is normally reserved for vehicle repair. What about an interruptible process...
Howdy SmokeyMeadow, thanks for the addon.
I'm still trying to figure out what is meant by "ammo pressing". Could you give a bit of an explanation and why it would be a benefit to a player?
Thanks.
Hey zed heads,
Well I had a real good run last night with a few of us on the server including my wife. I'm surprised, shocked, and anything else you can use to describe how I feel about the fact that my normally introverted wife, whose gaming history was mostly being the girl that stands in...
Hey zed heads, this addon I wrote was one of the first I did a couple of weeks back. I've been making slight tweaks here and there since and I think it's finally ready for public consumption. I didn't like the way the original jerry can/fuel can filling code was done (as it lacked some realism...
Here's a complete copy of the player_tauntnearbyzed.sqf in case of problem with download link:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Player_TauntNearbyZed.SQF
// Taunt Nearby Zombies - by BDC -...
In teaming up with my wife, during times when it was just us, I'd find myself wanting to figure out an easy way to aggro the nearby zed and/or come up with a way to try and pull aggro off of her so aggro could be mitigated a bit better while she flays the lot of them (that are then chasing me)...
Update note for the 24th of Aug - I found a 8th "Empty Tin Can" type and added it into both the player_craftwoodenarrows.sqf script file as well as the variable declaration and "Craft Wooden Arrows (x2)" selection code in fn_selfActions.sqf. Also updated the player_craftwoodenarrows.sqf download...
If the Mediafire link to download player_waterFill.sqf is down, here's the file in complete form that can be cut/pasted into a file of the same name.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//...
Howdy zed heads, this modification here was cooked up several days ago. I can't remember if it was my wife's idea or mine but it turned out real well nonetheless.
Basically this is a modification of the water_fill.sqf file located within \dayzinstallfolder\@dayz\addons\dayz_code.pbo file. What...
(Updated Aug 24 - added 8th Empty Tin Can type)
Howdy folks, I just finished up an add-on that enables the player to craft his or her own wooden arrows. I'm not sure if any add-ons of this type exist as I didn't check ahead of time. This was tested on my own private server using Pwnzor0z's...
Here's how I accomplished changing the (global) starting loadout:
1) I extracted dayz_server.pbo (located in \DayzFolder\@hive\Addons) using PBOView to a separate folder and edited the file compile\server_playerLogin.SQF
2) The working loadout I've got located at or around line 27 just under...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.