Bioware Archive V2 > Builders - Scripting

Well then..

(1/6) > >>

Legacy_ChaosInTwilight:


               Do I get to plant a flag with my Login on it or something?

If so..   "CiT Was Here"
               
               

               
            

Legacy_Lightfoot8:


               ChaosInTwilight wrote...

Do I get to plant a flag with my Login on it or something?

If so..   "CiT Was Here"

--- End quote ---
 


Ahh,  Guess Im in second place. *grumbles*


Guess we will just have to hold our breath and see how this works out.


Im off to do some searching on what kind of BBC/ code blocks we can post here.
               
               

               
            

Legacy_Pattycake1:


               Wonder if we can still post scripts here??
               
               

               
            

Legacy_Lightfoot8:


               I was wondering the same. Here goes a copple tests.


First a code block



int AreaGetIsPlayerInArea(object oArea )
{
object oPC= GetFirstPC();
while (GetIsObjectValid(oPC))
{
if (GetArea(oPC)==oArea) return TRUE;
}
return FALSE;
}



and now a nwscript block.

[nwscript]


int AreaGetIsPlayerInArea(object oArea )
{
object oPC= GetFirstPC();
while (GetIsObjectValid(oPC))
{
if (GetArea(oPC)==oArea) return TRUE;
}
return FALSE;
}


[/nwscript]

Keeping fingers crossed and Submitting.


EDIT: the results from both blocks do not look encouraging. With out the script Blocks I am not sure how much use this site will get from the NWN1 scripters.
               
               

               
                     Modifié par Lightfoot8, 13 juillet 2010 - 11:41 .
                     
                  
            

Legacy_Selene Moonsong:


               I think it is workable, just not as elegant as the BioBoards system.
               
               

               
            

Navigation

[0] Message Index

[#] Next page

Go to full version