scifer
Member-
Content Count
198 -
Joined
-
Last visited
-
Medals
Everything posted by scifer
-
How to find addons content
scifer replied to scifer's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Sorry I didn't know. Anyway the DLC path would be much more convenient ;) -
How to find addons content
scifer replied to scifer's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I couldn't find pmc main menu logo. Someone please tell me where it is :confused: -
Accessing unit's variable inside vehicles
scifer replied to scifer's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanx a lot. It worked :) -
Accessing unit's variable inside vehicles
scifer posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm implementing an excitability system to my script MoodJukebox and this is an excerpt: player setVariable ["stress", 0]; player addEventHandler ["firedNear", { player setVariable ["stress", (player getVariable "stress") + 1]; hintSilent format ["%1", player getVariable "stress"]; } ]; So each time the player shoots an increasing number is displayed. The problem is that it only works while on foot and as soon as I board any vehicle it doesn't work anymore :( What do I do? -
Today I released 2.5 version in correction to a stupid bug I made. Sorry for the delay, I was out of connecton.
-
Version 2.4 brings a much more efficient enemy detection, stress management system and some script tuning.
-
2.3 version brings a cool display and stress is not influenced by shoots anymore. Check it out.
-
Where exactly? In which pbo is the logo?
-
Printing % with format
scifer replied to scifer's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yes. It works. But it's less convenient to me :( There might be a special expression like "\n". -
Version 2.2 brings several features. Look the first post for details.
-
Reassigning EH object on team switch
scifer posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have an event handler like: player addEventHandler ["firedNear", {stress = stress + 5}]; The problem is that when event handler's object "player" dies and I switch the unit, the event handler doesn't work for the switched unit as it remains assigned to the dead unit. Is it possible to reassign the event handler to the switched unit? What are the alternatives? -
I must apologize for all those who downloaded this file as I missed to include some files. This is my first script and I'm not used to work with global folders. The re-upload is in the first post and armaholic.com. Thank you all for your comprehension.
-
Sorry for version 2.0 bug. I believe everything is OK in version 2.1.
-
I'll retest it. Thank you.
-
Thank you Q1184. It helped a lot :)
-
I want to store all sub-classes of a class like "CfgMusic" in a array. Does anybody know any function that do this? I'd like to use forEach, but it is only for arrays not config entries.
-
Today I released version 2.0 which brings several features. Read highlights at the first post.
-
Enabling leader command animations
scifer posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
It seems that only AI group leaders play arm command animations like "stop" or "regroup" and player leaders doesn't do it automatically. What a waste :( I don't know any addon that does the job, so I'd like to make my own. But I don't know where to start. How can I enable such animations for my player? ---------- Post added at 03:48 ---------- Previous post was at 03:24 ---------- I was thinking about changing some config.cpp file. But which one? -
Detect load game or ESC menu?
scifer replied to celery's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It didn't work for me in Arma2 single-player :( I was trying to sum a global variable. ---------- Post added at 06:01 ---------- Previous post was at 05:41 ---------- I pretended to assign diag_tickTime to a variable but if I press ESC again to exit the menu, would it assign the variable again? Why is it more addon oriented? -
Camera shake out of 1st person
scifer posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'd like to use camera shake effect in cameras like 3rd person and created cameras but addCamShake command works only in 1st person camera. Does anybody knows a workaround or similar effect? -
Commiting a camera without losing control
scifer posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'd like to commit the camera to an enemy soldier while being able to control player unit. How to do that? -
How to generate negative random numbers
scifer posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'd like to generate a random number ranging from -10 to +10. How to do that? -
How to generate negative random numbers
scifer replied to scifer's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanx a lot :) ---------- Post added at 05:03 ---------- Previous post was at 05:01 ---------- :confused: -
Is there any way to make civilian women to hold weapons? Like editing some config.cpp in order to make them use male animations.
-
How do I change the user interface key?