logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Set /LastName

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
Argonn



Joined: 03 May 2010
Posts: 13

PostPosted: Tue May 04, 2010 13:46    Post subject: Set /LastName Reply with quote

Yet another question !

When i try to set a /LastName to a PC, it requires me to have a lastname allready.

otherwise it just wont be set. If i set a lastname with leto-tool and then change it with leto-script, everything works just fine.

I tried the Add command and the normal /LastName = '' command.

Any help ?
Back to top
View user's profile Send private message
Argonn



Joined: 03 May 2010
Posts: 13

PostPosted: Thu May 06, 2010 10:04    Post subject: Reply with quote

I fixed this problem by using a Delete on LastName followed by a Add command..

No Idea how this will work ingame because it chaged from STRREf into a STRING.
Back to top
View user's profile Send private message
Argonn



Joined: 03 May 2010
Posts: 13

PostPosted: Thu May 06, 2010 11:24    Post subject: Reply with quote

And Adding a STRREF Entry to a BIC file can be done with

Code:
add /LastName , 'LastName' ,  4096;



Where the Constant 4096 is a LOCSTRING in the Leto documents. this is translated to a STRREF entry in a BIC file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group