Jump to content
  • 0

Custom Flag with Emblem


Aeia

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   1
  • Joined:  09/18/12
  • Last Seen:  

What should I edit here to have a customize flag with the guild's current emblem..

And also, about the CastleData, can I just change it to GuildData?
Thank You in Advance!

 

 


lhz_in03,112,25,4,2	script	Unknown HQ	722,{
	set .@GID, GetCastleData("aldeg_cas03",1);
		{
		mes "[ Unknown HQ ]";
		mes "Welcome to the Headquarters of the Unknown Guild!";
		mes " ";
		mes "The current Guild Leader of Unknown Guild is ^FF0000" + GetGuildMaster(.@GID) + "^000000.";
		mes " ";
	}
	close;

OnRecvCastleA03:
	FlagEmblem GetCastleData("aldeg_cas03",1);
	end;
}
Edited by Henesy
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

sprite id 722 + flagemblem

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

@Emistry: But Henesy already using 722 + flagemblem.

So flagemblem is only for 722 and can't be used with others?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

yes...only npc sprite 722 can used to display emblem.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   1
  • Joined:  09/18/12
  • Last Seen:  

But it says

   // This will change the emblem on the flag to that of the guild that owns   // "guildcastle"   flagemblem GetCastleData("guildcastle",1);

 

But it how will I be able to change it to guild name/ID?

 

EDIT: Should I use this?

Syntax

  • flagemblem <guild id>;
Edited by Henesy
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

it's based on guild id .... read flagemblem ...

 

getcastledate with parameter of 1 return the guild id of that particular guild who owned the castle....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   1
  • Joined:  09/18/12
  • Last Seen:  

What If I want to make a flag with emblem but they don't own any castle?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

just provide the guild id ....

 

read flagemblem

 

flagemblem <guild id>;
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...