Guest derperino Posted June 26, 2016 Posted June 26, 2016 SCN SexoutTTWDialogueScript float Player_Distance float Nova_Distance int vDial begin Gamemode set Player_Distance to PlayerRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker set Nova_Distance to NovaRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker if vDial == 1 if Player_Distance <= 24 && Nova_Distance <= 24 NovaRef.stopwaiting SexoutDoNothing call fnSexoutActRunFull (Ar_Map "ActorA"::NovaRef, "ActorB"::PlayerRef) set vDial to 0 elseif Player_Distance > 24 || Nova_Distance > 24 NovaRef.wait SexoutDoNothing endif endif end The script is placed with in a quest. The quest holds dialogue for Nova, which at the end of the dialogue, sets vDial to 1 and moves Nova to the rent room in Moriarty's Saloon with a sandbox package. When the player character moves within 24 units of the marker that shes set to sandbox at, the animation doesn't play. I want the animation to play at that specific time. How do I fix this?
Halstrom Posted June 26, 2016 Posted June 26, 2016 SCN SexoutTTWDialogueScript float Player_Distance float Nova_Distance int vDial begin Gamemode set Player_Distance to PlayerRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker set Nova_Distance to NovaRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker if vDial == 1 if Player_Distance <= 24 && Nova_Distance <= 24 NovaRef.stopwaiting SexoutDoNothing call fnSexoutActRunFull (Ar_Map "ActorA"::NovaRef, "ActorB"::PlayerRef) set vDial to 0 elseif Player_Distance > 24 || Nova_Distance > 24 NovaRef.wait SexoutDoNothing endif endif endThe script is placed with in a quest. The quest holds dialogue for Nova, which at the end of the dialogue, sets vDial to 1 and moves Nova to the rent room in Moriarty's Saloon with a sandbox package. When the player character moves within 24 units of the marker that shes set to sandbox at, the animation doesn't play. I want the animation to play at that specific time. How do I fix this? I could be wrong but I think 24units is very close like 24cm or an inchAnd secondly how does the int vDial ever get set to 1? Try adding a couple of lines after the ifs: DebugMessage "SexoutTTWDialogueScript: MARK1" DebugMessage "SexoutTTWDialogueScript: MARK2" etc And you have to set debug on to, can't remember whata the command is
Guest derperino Posted June 26, 2016 Posted June 26, 2016 SCN SexoutTTWDialogueScript float Player_Distance float Nova_Distance int vDial begin Gamemode set Player_Distance to PlayerRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker set Nova_Distance to NovaRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker if vDial == 1 if Player_Distance <= 24 && Nova_Distance <= 24 NovaRef.stopwaiting SexoutDoNothing call fnSexoutActRunFull (Ar_Map "ActorA"::NovaRef, "ActorB"::PlayerRef) set vDial to 0 elseif Player_Distance > 24 || Nova_Distance > 24 NovaRef.wait SexoutDoNothing endif endif endThe script is placed with in a quest. The quest holds dialogue for Nova, which at the end of the dialogue, sets vDial to 1 and moves Nova to the rent room in Moriarty's Saloon with a sandbox package. When the player character moves within 24 units of the marker that shes set to sandbox at, the animation doesn't play. I want the animation to play at that specific time. How do I fix this? I could be wrong but I think 24units is very close like 24cm or an inchAnd secondly how does the int vDial ever get set to 1? Try adding a couple of lines after the ifs: DebugMessage "SexoutTTWDialogueScript: MARK1" DebugMessage "SexoutTTWDialogueScript: MARK2" etc And you have to set debug on to, can't remember whata the command is vDial gets turned on in the Exit Script of the dialogue. 24 units is just bigger than a foot according to the units page on the Geck wiki. Ill try the debug messages. Edit: Turn out that 24units was to small to activate properly, changed it to 264 units and now it works fine. SCN SexoutTTWDialogueScript float Player_Distance float Nova_Distance int vDial begin Gamemode set Player_Distance to PlayerRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker set Nova_Distance to NovaRef.getdistance SexoutTTWMoriatySaloonRentRoomMarker if vDial == 1 if Player_Distance <= 264 && Nova_Distance <= 264 NovaRef.stopwaiting SexoutDoNothing call fnSexoutActRunFull (Ar_Map "ActorA"::NovaRef, "ActorB"::PlayerRef) set vDial to 0 elseif Player_Distance > 264 || Nova_Distance > 264 NovaRef.wait SexoutDoNothing endif endif end
Recommended Posts
Archived
This topic is now archived and is closed to further replies.