• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

PA course on C

Sorry, can't see no light myself.

So this line
ChangeCharacterAddressGroup(CharacterFromID("CCC"),"Redmond_TailorsShop", "goto", "locator7");
fails to take that ccc feller to this shop, while a similar command works? Can't see nothing wrong there, assuming that this goto locator7 actually exists <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

( ccc fades away... )
 
When starting a new quest:
say
SetEnterQuestLocation("Oxbay_tavern","start_check")
if you wished to make it available for all the taverns, is there a "wild card" that can be used instead of Oxbay?
or would
SetEnterQuestLocation("tavern","start_check")
work?

and where do you add the written description for QuestItems items - I have added the item and it's icon, no problem but haven't located where to add it's description.

Also what is the purpose of QuestMovie?

Thanks.
 
how i can make a variable that hold its value throw other dialog cases?
example

int a;
case "abc":
a = 1;
break;
case "cba":
if (a == 1)
dosomething();
else
do something else();
break;
i suppose variable "a" wont hold its value (integer 1) in case "cba" right?
it is explained here but i cant understand it:S
 
You can set the variable as a player attribute instead; that'll stick around. For example: pchar.omegavariable = 1;
Then use a GetAttribute to read the value of the variable without causing error messages.
 
Back
Top