mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
5a36d1a771
* Advanced Throwing - Add object variable to disable pick up Use: `OBJECT setVariable ["ace_advanced_throwing_disablePickUp", true]` * Documentation - Add Advanced Throwing Framework * Update addons/advanced_throwing/functions/fnc_renderPickUpInteraction.sqf * Update advanced-throwing-framework.md Co-authored-by: PabstMirror <pabstmirror@gmail.com>
21 lines
432 B
Markdown
21 lines
432 B
Markdown
---
|
|
layout: wiki
|
|
title: Advanced Throwing Framework
|
|
description: Explains how to interact with the Advanced Throwing API.
|
|
group: framework
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 7
|
|
patch: 0
|
|
---
|
|
|
|
## 1. Disabling pick up of ammo attached to an object
|
|
|
|
Pick-up interaction can be disabled for ammo (e.g. chemlights) attached to an object.
|
|
|
|
```js
|
|
OBJECT setVariable ["ace_advanced_throwing_disablePickUp", true, true];
|
|
```
|