[nwscript] [/nwscript] is there new tags for these here?
Iniziato da
CID-78
, lug 17 2009 05:35
#1
Inviato il 17 luglio 2009 - 05:35
how do i get my pretty script boxes in this forum?
#2
Inviato il 17 luglio 2009 - 05:44
You could also use
Edit: Obviously that doesn't work either.
andon the nwn forums I think, perhaps give that a try?
Edit: Obviously that doesn't work either.
Modificata da Beerfish, 17 luglio 2009 - 05:44 .
#3
Inviato il 17 luglio 2009 - 05:53
Just paste it
//#include "pqj_inc"
void main()
{
object oPC = GetLastKiller();
while( GetIsObjectValid( oPC) && !GetIsPC( oPC)) oPC = GetMaster( oPC);
object oParty = GetFirstFactionMember(oPC);
while(GetIsObjectValid(oParty))// make sure they are in the party
{
//if (RetrieveQuestState("q_town_vermin", oParty) == 10)
{
if(GetArea(oParty) == GetArea(oPC) || oParty == oPC) //checks to make sure the party member is in range
{
//AddPersistentJournalQuestEntry("q_town_vermin", 20, oParty, FALSE, FALSE, FALSE);// if in range give journal to that party member
FloatingTextStringOnCreature( "***Your Journal Has Been Updated***", oPC);
CreateItemOnObject( "SilkGland", oParty);
}
}
oParty = GetNextFactionMember(oPC); // finds next member
}
}
//#include "pqj_inc"
void main()
{
object oPC = GetLastKiller();
while( GetIsObjectValid( oPC) && !GetIsPC( oPC)) oPC = GetMaster( oPC);
object oParty = GetFirstFactionMember(oPC);
while(GetIsObjectValid(oParty))// make sure they are in the party
{
//if (RetrieveQuestState("q_town_vermin", oParty) == 10)
{
if(GetArea(oParty) == GetArea(oPC) || oParty == oPC) //checks to make sure the party member is in range
{
//AddPersistentJournalQuestEntry("q_town_vermin", 20, oParty, FALSE, FALSE, FALSE);// if in range give journal to that party member
FloatingTextStringOnCreature( "***Your Journal Has Been Updated***", oPC);
CreateItemOnObject( "SilkGland", oParty);
}
}
oParty = GetNextFactionMember(oPC); // finds next member
}
}
Modificata da Jassper, 17 luglio 2009 - 05:54 .
#4
Inviato il 17 luglio 2009 - 06:17
but those boxes are very usefull. some script are so big that they would make the post unreadable without them.
#6
Inviato il 17 luglio 2009 - 09:53
pastebin!
( well, nothing wrong with using the nwn pastebin for now anyway )
( well, nothing wrong with using the nwn pastebin for now anyway )
Modificata da fluffyamoeba, 17 luglio 2009 - 09:54 .





Torna su







