Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding code to objects #884

Open
Halmeth opened this issue Jun 6, 2021 · 0 comments
Open

Adding code to objects #884

Halmeth opened this issue Jun 6, 2021 · 0 comments
Labels
invalid This doesn't seem right

Comments

@Halmeth
Copy link

Halmeth commented Jun 6, 2021

Hello guys, I'm having some issues trying to add code into an init unit in the kp_objectInits.sqf

What I'm trying to do is adding a 3d sound in a blufor unit built from the KP UI.

Specifically I'm trying to add this code into this rhs unit:
[ ["rhsusf_usmc_marpat_wd_squadleader"], { _this say3D [ "radiochatter", 25, 1]; } ],

So far is only working when that unit has been already built and being left in the map and is not recruited or built by admins or players...

Also it works in vehicles but not in active units...

Thanks for reading!

@veteran29 veteran29 added the invalid This doesn't seem right label Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants