I now have the death section of the robot.s set up as follows:
Death
// remove alert timer
//AddPainOrder("PainToAlert", 0); // remove pain order
//FindTargetOrder(0, "FoundTarget", DAMAGEATTRIBUTE); // remove target finding
//DelTriggerOrder("IdleToAlert"); // remove alert trigger
//SetNoCollision(); // remove bounding box so there are no collisions with corpse
AnimateStop(DIE, DIEHOLD, "");
//FadeOut(DIEFADE, 0); // fade out corpse
//Remove(false); // remove actor
TeleportEntity(self.EntityName, spawn_point);
SetAttribute("enemy_health",100);
HighLevel("Spawn");
When I kill the robot it dies and then respawns but is indestructable after respawning. If I run the game again the robot doesnt even respawn after I kill it. If I run the gam again it spawns in after I kill but dies the instant that it respawns. It seems very random. Thoes are the the things that happen the most.
QuestOfDreams wrote:There is a reason why there is a documentation for the scripting commands
Remove(bool State)
Delete the Pawn's actor from the level. If State is false then the script will continue to run. Otherwise the script ends and the Pawn is inoperable. When the script is running after the Pawn is removed none of the actions that require an actor will work.
Also if you fade out the pawn you have to make it visible again when respawning. It's quite possible that it respawns but you just can't see it.
It seems that you have a nack for saying things in just the right way. But it can rub people the wrong way.
In stead of saying "There is a reason why there is a documentation for the scripting commands". You could have just pasted the info from the manual and told where it can be found and called it good. It seems as though you had to make it boarder line harsh. I dont understand why.
I have read the manual very well and the FAQ. I have figured out alot of things on my ownt that I have not mentioned on the forums. I dont ask a question on the forum as a first step. Only after I have no other option do I come to the forum. If your of high IQ then three cheers for you. Not everyone is. You seem to be irritated at the fact that people dont learn as fast as you do. If your a fast learner then you have a gift. If other people ask a question that you see as less than valid why say anything to make them feel little. Thier questions dont hurt anyone. Sometimes even the most inteligent people ask the simplest questions. I have trouble shot billion dollar computer networks from coast to coast. I have been helping people with thier web design issues for many years. I am well read in the religious texts of many cultures. I have studied the martial arts since the age of five. I have a wealth of knowledge on many subjects. there is a lot of things that seem like common sence to me that other people dont understand. When someone asks me a question I just answer it cheerfully and just feel good that I may have given them something they can use. What Im trying to say is that you dont seem happy supporting RF. Alot of the time questions seem to annoy you. I am sorry if you are not happy doing what you do. I have been brought to understand that you do this with no pay. That must mean that you see something in it that can do some good. If that is the case then carry on. But, if you are not happy with it then why do it?
Why not answer a question with grace. If the answer is in the manual or the FAQ then copy and past it as a reply. I never feel silly for asking questions. I will probably ask a billion more before I die.
I just ask that you try not to make people that might be heavy contributers to the RF project leave and not come back because of something you said.
Im not the slightest bit upset, but I am concerned for the wellfare of RF and its community. I havent been here as long as some but that doesnt mean that I dont feel some passion for the project as a whole. Sarcasm will hurt it, not help it.
I respect your knowledge and I make it a habit not to claim or feel superiority over anyone in anything. Im just afraid that the project could loose good people from harsh words.
Please dont be upset. I only have the best interests of RF in mind.
Patience and tolerance are the keys to the passage of knowledge. Even those that are the most knowledgeable started with many questions.