ItsMods

Full Version: setMiniMap and other minimap commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, Nyan Cat

Another few commands, this ones are relationed with map orientations and minimap:

This command will return the angulation of the north(of map)

Code:
getnorthyaw();

Now the command setupMiniMap(in really what it uses to set the minimap is the command SetMiniMap):

Code:
maps\mp\_compass::setupMiniMap("map image");

You could use the SetMiniMap to Troll . Example:

Code:
SetMiniMap("compass_map_mp_compact",5,5,4,1); //Thanks to ZeRoY for the values of the 4 parametres: upper-left x, upper-left y, lower-right x, lower-right y

Examples:

Code:
maps\mp\_compass::setupMiniMap("compass_map_mp_compact");
maps\mp\_compass::setupMiniMap("compass_map_mp_boneyard");

Thats it, if someone wants to add something, he is welcome, Big Grin
(11-22-2011, 16:14)Yamato Wrote: [ -> ]Now the command setupMiniMap(in really what it uses to set the minimap is the command SetMiniMap):

Code:
maps\mp\_compass::setupMiniMap("map image");

Did you seriously make a tutorial about this...
People has knew - and used - this since the beginning of CoD.

Though, the north function was usefull, I haven't heard about it before.
the north function is useless if we cannot rotate images tru scripts ...
(11-22-2011, 22:19)iAegle Wrote: [ -> ]the north function is useless if we cannot rotate images tru scripts ...

Orly...
I am sure... that we... can find this... well.. you know... interesting... Troll