Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - lambada7
1
Script and Content Requests / How to add a unique map icon
« on June 20th, 2019, 07:27 AM »
What should be the size of the image?

Example

120x120

What should be the name of the image and what type of recording should it be?

Example

Name( .png , .jpg .tga ) ??

Finally how do I switch to Main.nut?

Example

function onPlayerJoin( player )
{
CreateMarker(player.UniqueWorld, Vector( -1734, -715, 5.8680 ), 5, RGB(0, 0, 0), 26 );
     return 1;
}

CreateMarker( world, pos, scale, color, SpriteId )

int world - The world ID
Vector pos - The position of the marker to be created
int scale - The marker's size
cRGB color - The marker's color
int SpriteId - The ID of custom map icon


Where will he be thrown? the mapicons
to the file? Or the Sprites file?


I mean how do we do????