Thanks a lot for your reply!And sorry for the late reply.
So I have investigate a bit, my problem and I have the same behavior if I trigger the masquerade change (ie crashing) I guess something is stuck in the code in my map and that trigger this behavior, if I change the map and do the changemasquerade, it won't crash, so it is in my map, and I don't know where, but I might find something to avoid that.I didn't try the TakeDamage, but I will give it a try, if it avoid the changing of all maps that would be great, it leaves only the timer, I was not able to make it work by code only so for now, it is a timer in the map.
1- An interesting idea... I won't use a trigger_hurt in the maps, because you would have to change all maps. It's better using a command, but... how do you control the time? I understand the purpose but I think that the game will be more realistic, but also more annoying to players.
For the time, I allow 1 or 2 hour when a quest is done with a function AdvanceNight() when it reach 10 hour, the timer trigger and the player have 5 mn to go back to his haven otherwise that's death.So as the trigger work half time without crashing, when a player is killed, you go back to the main menu.I don't know if it is a great idea, I don't like the way you are able to chain quest and that erase all the nice stuff they implement like the tv sentence and the newspaper, so I was thinking of a way to implement kind of night timer to at least be able to slow the pace, but I agree that it might be problematic and don't go to the release.It was not big to implement so that's not a big deal if it didn't make it.
2- The visual problem will probably be due to the fading distance of the object... if you use the parameter 0, it never fades.
I will give it a try.
For the problem with the code in the answer of NPC, yes it is really weird as Malkav mention, it is really taking more than a minute sometimes for the code to be executed (I have check as my variable as been set when it is executed), so I prefer at least for now to use the PC answer, that make things more reliable for the development.
For now I don't have sound, but I have spotted some online site where I might generate some basic voice, but that will be at the end on the polishing :) but I find it a bit weird the dialog without any lip move but that's not a big deal, I will see later.
By the way... can you explain something about your mod?
So that's kind a mix of plenty of ideas that I have, the fact that you can continue the game and also to play another vampire that the fledging:You start by picking your side of the story (anarch, camarilla, giovanni, independant, sabbat maybe) and the event of the game are happening at the same time, some of the side quest is available to player and some of the main quest are changed to be used.
You are just released from your sire after your training period, you are a young vampire and the world is open to you.
The timeline is from the event of bloodline a week or two before it start, until let's say the begining of LA by night show including the second inquisition attack, hecata creation, tremere explosion so some of the V5 background.
You start in a small area in downtown (which will be your domain) and you claim this zone (that's the intro quest) you might after get some money, way to drink easily (not to kill) and change your car from this domain, building allies and contact.And then you will evoluate in LA depending of your side, anarch might join one of the three baron or stay independant, you could also be independant and by yourself as a gangrel, tremere might start as a new comer to the chantry from camarilla or be anarch, nosferatu will be nosferatu :)For the giovanni part, I have write a lot in the hecata mod, Giovanni will replace ventrue and after if there is more need for other story, i will see hopw to implement.
I could write a lot about this because my mind is boiling as I would really make something cool, but we will see.
I am adavancing slowly as the mapping is taking for me a lot of time, but that's advancing, so when I will have a pre alpha release for testing and if some people want to give it a try just let me know, just don't ask me when it will happen because life is life unfortunately.
If people have question don't hesitate.
Again thanks a lot for your answer.