Does OBSE have a getrace function? Something like this:
That I could make a custom Dunmer for instance, And still have NPC's referring to my character as a Dunmer?
Thanks. -s-
Does OBSE have a getrace function? Something like this:
That I could make a custom Dunmer for instance, And still have NPC's referring to my character as a Dunmer?
Thanks. -s-
This would be better asked in the http://www.gamesas.com/topic/1456224-rel-oblivion-script-extender-obse-0021-beta-2. But while the latest http://obse.silverlock.org/obse_command_doc.html does not have a direct equivalent, check out the 'http://obse.silverlock.org/obse_command_doc.html#Race' section. Also the http://cs.elderscrolls.com/index.php/Category:Oblivion_Script_Extender entry on OBSE.
-Dubious-
You could try http://obse.silverlock.org/obse_command_doc.html#SetRaceAlias. It won't work with GetRace but it will work for GetIsRace, which is the function that is used by most dialog (and quest) checks.
Thanks you both so much..SetRaceAlias sounds like what I am wanting.. -s-
What exactly are you trying to do?
Also
Looks like Morrowind syntax. It won't compile in Oblivion CS.
I am trying to make a script so that I can have a custom race, that will be referred to as a vanilla race.
Is there somewhere I can see examples of how to begin and end the script?
In dialogue? Use something like this:
scn MyQuestScriptBegin GameMode If GetGameLoaded == 1 SetRaceAlias MyRace Orc EndifEnd
And then use GetIsRace checks in Dialogue conditions.
I don't understand this part:
And then use GetIsRace checks in Dialogue conditions.
This would be instead of what I wrote? And using OBSE?
Would what I wrote work at all?
-Edit-
Could I also use more than one SetRaceAlias at one time in the script?
Dunmer, Orsimer, Breton2, Imperial2, etc?
Saebel: It would be for dialog.
Thanks a ton for the helps you both -s-
Do you want it to work with vanilla dialogue or your own?
The script you wrote needs to be attached to a spell or magic ability. It will work if you add conditions GetGlobalValue PCRace == X to dialogue responses. (And create such global value, of course)
My script needs to be attached to a quest. It will run every gameload and set "race alias" each time, meaning that GetIsRace checks used in all vanilla dialogue will recognize one race as another.
My script will require OBSE, yours won't.
Ok thank you both so very much!
I want it to work with Vanilla dialog.
Funny fact, when I first saw this thread I was like "getrace?, what the heck is a ge-trace?"