Play3r 147 Posted October 6, 2018 Hello I want to spawn a icon on map after a trigger is fired i want to spawn the markers -> standard draw -> pickup (hd_pickup) i have looked thru the WIKI but have not found anything that helps me. any one who can give me the solution.. Share this post Link to post Share on other sites
Janez 536 Posted October 6, 2018 The icons you speak of are called markers. Therefore you need createMarker scripting command. Use setMarkerType to set it's shape. So, insert something like this into trigger on activation field: marker1 = createMarker ["Marker1", position player]; "Marker1" setMarkerType "hd_pickup"; "Marker1" setMarkerColor "colorBLUFOR"; This will create marker, named "Marker1" on player's position, change it's type to "pickup" and set it's color to Blufor blue. If you want to set custom position, see setPos with the rest of Arma 3 Scripting Commands. 1 Share this post Link to post Share on other sites
Play3r 147 Posted October 6, 2018 Thanks Janez i did not think about the createmarker only the spawn function i have changed a little bit, after reading up on it. // _handle = execVM "SPAWN\ExfilMarker.sqf"; // after heal pilot Marker1 = createMarker ["PICK UP",getMarkerPos "pickup"]; Marker1 setMarkerType "hd_pickup"; Marker1 setMarkerColor "colorBLUFOR"; 1 Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted October 6, 2018 2 hours ago, Play3r said: Hello I want to spawn a icon on map after a trigger is fired i want to spawn the markers -> standard draw -> pickup (hd_pickup) i have looked thru the WIKI but have not found anything that helps me. any one who can give me the solution.. On a sidenote, you can look at script commands sorted by functionality: Go to the Scripting Commands page Click Scripting Commands by Functionality Click Command Group: Markers All there in plain text. Cheers 1 Share this post Link to post Share on other sites
Play3r 147 Posted October 6, 2018 2 hours ago, Grumpy Old Man said: On a sidenote, you can look at script commands sorted by functionality: Go to the Scripting Commands page Click Scripting Commands by Functionality Click Command Group: Markers All there in plain text. Cheers Thanks a lot did not know about that page. i guess you won't see me in this forum much more now :) Thanks for the links @Grumpy Old Man 1 Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted October 6, 2018 3 minutes ago, Play3r said: Thanks a lot did not know about that page. i guess you won't see me in this forum much more now :) Thanks for the links @Grumpy Old Man Make sure to check out the alternative syntax for most scripting commands, quite a few neat additions in the last 2 years. Cheers Share this post Link to post Share on other sites
Play3r 147 Posted October 6, 2018 1 minute ago, Grumpy Old Man said: Make sure to check out the alternative syntax for most scripting commands, quite a few neat additions in the last 2 years. Cheers reading the page right now.. there is a lot of examples to check out. and i'm just reading about markers.. 1 Share this post Link to post Share on other sites
Harzach 2518 Posted October 6, 2018 3 hours ago, Play3r said: Thanks a lot did not know about that page. i guess you won't see me in this forum much more now :) If anything, we should be seeing you MORE. The biki is just data. This forum is for sharing ideas, troubleshooting and improving code, etc. Regarding createMarker, don't miss the first note. Share this post Link to post Share on other sites
Play3r 147 Posted October 7, 2018 10 hours ago, Harzach said: If anything, we should be seeing you MORE. The biki is just data. This forum is for sharing ideas, troubleshooting and improving code, etc. Regarding createMarker, don't miss the first note. @Harzach it was meant as a joke. i am happy to be at this forum everybody is ready to help.. so SURE i will stay at the forum.. Share this post Link to post Share on other sites