fodev.net

FOnline Development => Questions and Answers => Topic started by: hexer on January 18, 2014, 09:11:41 pm

Title: Stat for PC name
Post by: hexer on January 18, 2014, 09:11:41 pm
My writers are asking if there's any stat that stores player's name? Something like ST_AGE stores your age.
Title: Re: Stat for PC name
Post by: John Porno on January 18, 2014, 09:51:56 pm
in dialogues you can simply use @pname@. refer to the art of dialogue writing tutorial by ghosthack, available here on fodev.
Title: Re: Stat for PC name
Post by: JovankaB on January 18, 2014, 09:58:38 pm
http://fodev.net/files/sdk/ArtOfDialogs.pdf

Also for more complicated things you can write dialog functions, 2238 has plenty of them already written in dialog.fos, e.g. r_SkillRoll to do skill rolls. SDK has them too, but less.