- Joined
- Sep 3, 2013
- Messages
- 903
- Reaction score
- 227
Hello , i make (try) put the minimap in game , i am question
So , i am put loading minimap in HudDisplay and i send fla
(i put minimap.dds colroado in devserver)
In fla i past map folder from WarZ_HUD_Menu to WarZ_HUD
i keem same liaison ' warz.pause.map' for use map.as in classes\warz\pause , is good ? or need create another ?
I make function in HUD.as for send map icon in map.as
in client i send cordonate pointer(player) in fla but is not work
To conclure , my error:
- Player Location (Pointer Minimap) is null x,z (and rotate)
So , i am put loading minimap in HudDisplay and i send fla
(i put minimap.dds colroado in devserver)
In fla i past map folder from WarZ_HUD_Menu to WarZ_HUD
i keem same liaison ' warz.pause.map' for use map.as in classes\warz\pause , is good ? or need create another ?
I make function in HUD.as for send map icon in map.as
public function setMap (icon:String):void
{
Main.Condition.Map.setMap (icon);
}
public function setMinimapPosition (x:Number, y:Number):void
{
Main.Condition.Map.setPlayerPositionMINI (x, y);
}
in client i send cordonate pointer(player) in fla but is not work
Scaleform::GFx::Value var[2];
var[0].SetNumber(mapPos.x);
var[1].SetNumber(mapPos.y);
gfxHUD.Invoke("_root.api.setMinimapPosition", var, 2);
To conclure , my error:
- Player Location (Pointer Minimap) is null x,z (and rotate)
Attachments
You must be registered for see attachments list