Category | Farming Simulator 17 |
Created | 25.10.2016 12:11 |
Mass Yas (massyas) | 25.10.2016 12:13 |
---|---|
Hello, Can we have details on new createMapHotspot method signature? I see some new arguments to give before coordinates compared to FS15 version. FS15 g_currentMission.ingameMap:createMapHotspot("mapAIHotspot", "dataS2/menu/hud/hud_pda_spot_helper.png", hotspotX, hotspotZ, nil, nil, false, false, false, self.rootNode); FS17 g_currentMission.ingameMap:createMapHotspot("helper", self.currentHelper.name, nil, getNormalizedUVs({776, 520, 240, 240}), {0.052, 0.1248, 0.672, 1}, hotspotX, hotspotZ, width, height, false, false, true, self.components[1].node, true, MapHotspot.CATEGORY_AI, textSize, textOffsetY, {1, 1, 1, 1}, nil, getNormalizedUVs({776, 520, 240, 240}), Overlay.ALIGN_VERTICAL_MIDDLE, 0.7) Thanks |
Emil Drefers (Unknown) | 26.10.2016 08:41 |
---|---|
Hi, here you go: function IngameMap:createMapHotspot(name, fullName, imageFilename, imageUVs, baseColor, xMapPos, zMapPos, width, height, blinking, persistent, showName, objectId, renderLast, category, textSize, textOffsetY, textColor, bgImageFilename, bgImageUVs, verticalAlignment, overlayBgScale) Cheers, Emil |
Mass Yas (massyas) | 26.10.2016 11:14 |
---|---|
Thanks a lot for your quick answer. |
Note: Log in to post. Create a new account here.