Add LE1 BioTlkFile experiment by vegz · Pull Request #460 · ME3Tweaks/LegendaryExplorer (original) (raw)

newprop.GetProp<IntProperty>("nListenerIndex").Value = -1;
newprop.GetProp<EnumProperty>("ReplyType").Value = "REPLY_STANDARD";
}
else
{
newprop.GetProp<IntProperty>("nSpeakerIndex").Value = -1;
newprop.GetProp<IntProperty>("nListenerIndex").Value = -2;
newprop.GetProp<BoolProperty>("bSkippable").Value = true;
}
newprop.GetProp<IntProperty>("nScriptIndex").Value = -1;
newprop.GetProp<StringRefProperty>("srText").Value = stringref.StringID;
newprop.GetProp<BoolProperty>("bFireConditional").Value = true;
newprop.GetProp<IntProperty>("nConditionalFunc").Value = -1;
newprop.GetProp<IntProperty>("nConditionalParam").Value = -1;
newprop.GetProp<IntProperty>("nStateTransition").Value = -1;
newprop.GetProp<IntProperty>("nStateTransitionParam").Value = -1;
newprop.GetProp<IntProperty>("nCameraIntimacy").Value = 1;
var listenerIndexProp = newprop.GetProp<IntProperty>("nListenerIndex");
if (listenerIndexProp != null)
{
listenerIndexProp.Value = -1;
}
var replyTypeProp = newprop.GetProp<EnumProperty>("ReplyType");
if (replyTypeProp != null)
{
replyTypeProp.Value = "REPLY_STANDARD";
}
}
else
{
var speakerIndexProp = newprop.GetProp<IntProperty>("nSpeakerIndex");
if (speakerIndexProp != null)
{
speakerIndexProp.Value = -1;
}
var listenerIndexProp = newprop.GetProp<IntProperty>("nListenerIndex");
if (listenerIndexProp != null)
{
listenerIndexProp.Value = -2;
}
var skippableProp = newprop.GetProp<BoolProperty>("bSkippable");
if (skippableProp != null)
{
skippableProp.Value = true;
}
}
var scriptIndexProp = newprop.GetProp<IntProperty>("nScriptIndex");
if (scriptIndexProp != null)
{
scriptIndexProp.Value = -1;
}
var srTextProp = newprop.GetProp<StringRefProperty>("srText");
if (srTextProp != null)
{
srTextProp.Value = stringref.StringID;
}
var fireConditionalProp = newprop.GetProp<BoolProperty>("bFireConditional");
if (fireConditionalProp != null)
{
fireConditionalProp.Value = true;
}
var conditionalFuncProp = newprop.GetProp<IntProperty>("nConditionalFunc");
if (conditionalFuncProp != null)
{
conditionalFuncProp.Value = -1;
}
var conditionalParamProp = newprop.GetProp<IntProperty>("nConditionalParam");
if (conditionalParamProp != null)
{
conditionalParamProp.Value = -1;
}
var stateTransitionProp = newprop.GetProp<IntProperty>("nStateTransition");
if (stateTransitionProp != null)
{
stateTransitionProp.Value = -1;
}
var stateTransitionParamProp = newprop.GetProp<IntProperty>("nStateTransitionParam");
if (stateTransitionParamProp != null)
{
stateTransitionParamProp.Value = -1;
}
var cameraIntimacyProp = newprop.GetProp<IntProperty>("nCameraIntimacy");
if (cameraIntimacyProp != null)
{
cameraIntimacyProp.Value = 1;
}