It there any way to resurrect player w/o respawning?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
It there any way to resurrect player w/o respawning?
Subject. I tried a lot, but I still didn't do that. Is that possible?
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Re: It there any way to resurrect player w/o respawning?
No.
Well, I've never testing giving the player a Raise state and using Thing_Raise, but in all likelihood it'd do nothing save creating a meatshield best case scenario or cause bugs that cause the engine to shit itself in the worst case.
Well, I've never testing giving the player a Raise state and using Thing_Raise, but in all likelihood it'd do nothing save creating a meatshield best case scenario or cause bugs that cause the engine to shit itself in the worst case.
Re: It there any way to resurrect player w/o respawning?
Hmmm... maybe I can prevent dropping player's HP down to zero?
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: It there any way to resurrect player w/o respawning?
[wiki]SetPlayerProperty[/wiki], PROP_Buddha.Falcor wrote:Hmmm... maybe I can prevent dropping player's HP down to zero?
Re: It there any way to resurrect player w/o respawning?
The console does have a resurrect command... and it does work, but I've heard before it had.. hum... potential problems. To me this indicate resurrecting the player is already possible, just not the wisest thing to do.
Re: It there any way to resurrect player w/o respawning?
This is actually a good feature suggestion. There's a cheat for resurrection, so an ACS feature for the same doesn't seem totally impossible.
Re: It there any way to resurrect player w/o respawning?
Nice, I've been looking for this.SetPlayerProperty, PROP_Buddha.
Hmmm... kinda interesting. Totally forgot about this, I'll "play" with console commands then.The console does have a resurrect command... and it does work, but I've heard before it had.. hum... potential problems. To me this indicate resurrecting the player is already possible, just not the wisest thing to do.
Also I've found one more way with real player dying. You see, I'd like to use Hexen-like hub-system for my project. So when player dies, death-type script teleports player to the central map with "neutral" territory (w/o monsters), where he can heal and restore his ammunition. Just like Stronghold, you know. -_-