Activate after death of a monster

Activate after death of a monster

Re: Activate after death of a monster Posted by tnkqwe on Wed May 7th 2008 at 1:44pm
tnkqwe
560 posts
Posted 2008-05-07 1:44pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
How can I activate trigger_onse activate after a monster's death???
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Activate after death of a monster Posted by Captain P on Wed May 7th 2008 at 2:50pm
Captain P
1370 posts
Posted 2008-05-07 2:50pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
For this, monsters have two properties, named TriggerTarget and TriggerCondition. TriggerTarget should contain the name of the entity you want to target, while TriggerCondition should be set to 'Death'.
Create-ivity - a game development blog
Re: Activate after death of a monster Posted by tnkqwe on Thu May 8th 2008 at 10:39am
tnkqwe
560 posts
Posted 2008-05-08 10:39am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
OK I'll test it and tell you doese it works
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Activate after death of a monster Posted by tnkqwe on Sat May 10th 2008 at 4:25am
tnkqwe
560 posts
Posted 2008-05-10 4:25am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
OK
It worked on a trigger_hurt but not on a trigger_onse.Why?Am I making a mistake?If I do,where?
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Activate after death of a monster Posted by tnkqwe on Fri May 16th 2008 at 10:53am
tnkqwe
560 posts
Posted 2008-05-16 10:53am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
Re: Activate after death of a monster Posted by Captain P on Fri May 16th 2008 at 11:26am
Captain P
1370 posts
Posted 2008-05-16 11:26am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
If you can explain what exactly you want to achieve, as well as what you did (what entities you used and what properties you set to what values) then I'm sure we can help you out. :smile:
Create-ivity - a game development blog
Re: Activate after death of a monster Posted by tnkqwe on Sat May 17th 2008 at 6:23am
tnkqwe
560 posts
Posted 2008-05-17 6:23am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
The monsters must activate a trigger_onse which targets a enu_fade
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Activate after death of a monster Posted by Captain P on Sat May 17th 2008 at 10:04am
Captain P
1370 posts
Posted 2008-05-17 10:04am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Why don't you let the monster activate the env_fade directly then?

Or do you want the trigger_once (not onse) to become active only after the monster is killed? So, when the player steps in it when the monster is still alive, nothing will happen, but when he enters it after killing the monster, the screen will fade out?
Create-ivity - a game development blog
Re: Activate after death of a monster Posted by tnkqwe on Sat May 17th 2008 at 4:15pm
tnkqwe
560 posts
Posted 2008-05-17 4:15pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
"Why don't you let the monster activate the env_fade directly then?"
Didn't work too.
And yes:I want the trigger_onse to activate after a monster dies.But I kill the monster and nothing hapens
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Activate after death of a monster Posted by Le Chief on Sun May 18th 2008 at 12:50am
Le Chief
2605 posts
Posted 2008-05-18 12:50am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
tnkqwe said:
"Why don't you let the monster activate the env_fade directly then?"
Didn't work too.
It should work. What are the settings for your monster and the env_fade? Something tells me that maybe your env_fade is not set up correctly.
Aaron's Stuff
Re: Activate after death of a monster Posted by bengreenwood on Thu Jul 3rd 2008 at 6:45pm
bengreenwood
63 posts
Posted 2008-07-03 6:45pm
63 posts 26 snarkmarks Registered: Aug 14th 2007 Occupation: Student Location: England
Doesn't this depend on the monster though? Some monsters won't activate stuff when they die, even if you have triggertarget etc. set up correctly. I basically worked around it by having a trigger_multiple encompassing the area where the monster to be killed could go.

Then I also had a room outside the playing area with a barney who had a script telling him to walk to a trigger_once that would activate the required target. The trigger_multiple in the play area triggered a trigger_monsterjump which kept pushing barney back, until the original monster died, at which point Barney could walk forward, and voila, you get your target triggered, whatever monster you're killing.
Re: Activate after death of a monster Posted by tnkqwe on Sun Jul 6th 2008 at 6:55pm
tnkqwe
560 posts
Posted 2008-07-06 6:55pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
My monster is inside the trigger_onse(I want to activate after his death).
Well...I have stopped making the map.
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms