Page 1 of 1

Few things need help on

Posted: Mon Jul 14, 2014 2:32 pm
by soulsin
Ok I would like add command @chocobo but cant seem get put in correct. Also GM Icons, I can remember what shows for SGM, LGM, Head/Producer. Use to be way to find them with their ID's.

Also NPC that got no script to it and adding one to make on trade item. It give you items that listed for reward when trade certain item/items.
I just want to be able trade and get items not require quest or mission to get them, trying setup for players so they be able farm the Certain items to get the gear from the NPC.

Re: Few things need help on

Posted: Mon Jul 14, 2014 3:07 pm
by demolish
chocobo is an animation
GM icons i dont even think theres SGM anymore, check togglegm command

for the npc trade crap, have a look at existing scripts

Re: Few things need help on

Posted: Mon Jul 14, 2014 3:50 pm
by Signature

Code: Select all

-----------------------------------------------------------------
--@chocobo
--calls chocobo
-----------------------------------------------------------------


cmdprops =
{
    permission = 0,
    parameters = "s"
};


function onTrigger(player)
	player:addStatusEffect(EFFECT_CHOCOBO, 1, 0, 99999);   -- The 99999 is a time it lasts. I just wanted it to never wear basically
	player:messagePublic(280, player, EFFECT_CHOCOBO, EFFECT_CHOCOBO);
end;

Re: Few things need help on

Posted: Mon Jul 14, 2014 3:56 pm
by kjLotus
Signature wrote:The 99999 is a time it lasts. I just wanted it to never wear basically
0

Re: Few things need help on

Posted: Mon Jul 14, 2014 4:03 pm
by Signature
with 0 it still wore off

Re: Few things need help on

Posted: Mon Jul 14, 2014 6:39 pm
by soulsin
Ok kool o chocobo, i have looked, which i relook at scripts for npc. Got one atm but requires quest before accept the trade. In command togglegm it got flag ther but not for type of gm, but i remember in past on another server type in tons flags looking for right ones. But ones now is fine