![]() |
|
|
|||||||
| ArmA 2 & OA - MISSION EDITING & SCRIPTING For discussing the technical aspects of creating custom ArmA 2 & the standalone expansion Operation Arrowhead missions as well as scripting. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Private
Join Date: Mar 2010
Posts: 4
|
In-game markers
Does anyone know how I can create a marker that shows up in-game? For example, a 3D label that is positioned over a point of interest, or information about other entities in the map that are shown over their heads, etc.
Can this be accomplished with markers? I'm pretty clueless about exactly what a marker is. Are they only show on maps? I've tried creating markers like this, but it only shows up on the map: Code:
_markerstr = createMarkerLocal ["markername", getPos player]; _markerstr setMarkerShape "RECTANGLE"; _markerstr setMarkerSize [20,20]; _markerstr setMarkerColor "ColorGreen"; |
|
|
|
|
|
#2 |
|
Private
Join Date: Mar 2010
Posts: 4
|
This isn't exactly what I was looking for, but could be used for text:
http://forums.bistudio.com/showthrea...&highlight=tag The link to this script, "Name tag Script" by Loyalguard is dead... ---------- Post added at 12:52 AM ---------- Previous post was at 12:47 AM ---------- Here's another request, but not much to go on: http://forums.bistudio.com/showthrea...&highlight=tag Last edited by shendoo; 03-14-2010 at 12:00 AM. |
|
|
|
|
|
#3 |
|
Private
Join Date: Mar 2010
Posts: 4
|
Another way
I decided to use a GUI object (display) and dynamically size and adjust it based on player position.
I have some text moving http://community.bistudio.com/wiki/User:Hendo:Tutorials isplayHere we go... |
|
|
|
|
|
#4 |
|
Private
Join Date: Mar 2010
Posts: 4
|
Doing it the hard way
I ended up using GUI objects and scripting to do what I need.
Here's a screen shot of my current app: ![]() ![]() The player can drop these icons using a modified laser range finder. I'm now moving on to adding friendly and neutral icons. Last edited by shendoo; 03-19-2010 at 03:41 AM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|