You are not logged in.
Pages: 1
I'm trying to adapt a simple respawn script for myself so that I won't have to restart from a previous save point when I die. I have just come back to Oni after many years, and forgot most of what I learnt about scripting before. How do I stop the game from showing the game over screen after dying like in the Titan mod? Is there a part of the original script that controls this?
Offline
delete the function you_lose(string ai_name); or replace the code inside, especially "lose" call.
This function is called automatically when the player dies, by the game engine.
Offline
All thatll do is you just lie dead.... yeah... you also have to add something like
func respawn
{
loop
chr_wait_health 0 0
chr_set_health 0 100 (or whatever your max health is)
end loop
}
and then somewhere at the beginning of the script put
fork respawn
"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."
Offline
yeah thanks finally got it working.
time to see if i can relearn scripting in oni, or maybe modding. I'm impressed with the progress the community has made since I last played Love the AE
Offline
Pages: 1