Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Multiple Respawns Causes Bug
Re: Multiple Respawns Causes Bug [message #479275 is a reply to message #479262] Wed, 13 February 2013 11:23 Go to previous messageGo to previous message
Troll King is currently offline  Troll King
Messages: 56
Registered: June 2012
Location: Netherlands
Karma:
Recruit
Thats exactly what I dit by using Commands->Enable_Collisions but it doesn't work. The work-around I came up with is pretty stupid, but it works.
I'm killing the guy twice in a row. So first when it has all collisions disabled and also trying to enable collisions before killing it. Then it respawns fresh and untouched and I kill it again.

EDIT:
Also this fancy editing of object upon spawn causes some netcode bugs aswell.. I'm trying to apply some changes so fast after being created that some don't have effect until I kill them again. (Apparently only happens to other players and only the first spawn in-game). AND NO THIS IS NOT MY CODE'S FAULT. I've put lots of debug text in it and tested it numerous times and it always hits the Set_Delete_Pending and then returns the object create event. BUT IT NEVER EVER KILLS THE OBJECT

EDIT #2: If ur wondering why I'm killing them, it's becouse I'm trying to change their teams my own way and I'm doing it the exact same way as SSGM uses for fore TC the only difference is that I'm doing it in the object created event and not in a script created event. I need to do something else thats why I'm not using the Change_Team engine call..


Also Known As: Neijwiert

[Updated on: Wed, 13 February 2013 11:28]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PT lag
Next Topic: Fix Homing logic
Goto Forum:
  


Current Time: Tue Oct 01 00:26:47 MST 2024

Total time taken to generate the page: 0.00833 seconds