RevanKnight Posted August 27, 2015 Posted August 27, 2015 I have been trying, and failing to figure out how make it to where when you defeat a enemy the level changes, or activate a script that will.
Ramikad Posted August 27, 2015 Posted August 27, 2015 Place a target_change_level in the map, then make a deathscript that uses the new entity. Tempust85, RevanKnight and MagSul like this
Solution Asgarath83 Posted August 27, 2015 Solution Posted August 27, 2015 I have been trying, and failing to figure out how make it to where when you defeat a enemy the level changes, or activate a script that will. target_level_change as told Rramikad on deathscript,but you need also to make a fade in camera into the script for make the fading in black, if you want a fading.After this a "wait 200" for wait for 0.2 seconds, and "use **" ** is the targetname of the target_level_change entity. RevanKnight likes this
RevanKnight Posted August 27, 2015 Author Posted August 27, 2015 So, make it so target_level_change is activated by the death script, okay I'll try it, thanks! Asgarath83 likes this
RevanKnight Posted August 27, 2015 Author Posted August 27, 2015 target_level_change as told Rramikad on deathscript,but you need also to make a fade in camera into the script for make the fading in black, if you want a fading.After this a "wait 200" for wait for 0.2 seconds, and "use **" ** is the targetname of the target_level_change entity.How do I make the characters death activate the script?
Ramikad Posted August 27, 2015 Posted August 27, 2015 Just set it up as that character's deathscript, either through another script or setting it in Radiant in the NPC entity, deathscript <scriptname>. Tempust85 and RevanKnight like this
RevanKnight Posted August 27, 2015 Author Posted August 27, 2015 Just set it up as that character's deathscript, either through another script or setting it in Radiant in the NPC entity, deathscript <scriptname>.Okay, thank you!
mrwonko Posted August 28, 2015 Posted August 28, 2015 Or you could just use the npc_target property, which is fired when the NPC dies. therfiles and eezstreet like this
Asgarath83 Posted August 28, 2015 Posted August 28, 2015 How do I make the characters death activate the script? 1 on target_level_change puttargetname: end_levelmapname (value: the name of the map of next level On npc entities of the map usekey deathscriptvalue scriptfolder/scriptnamefile)example :Key: deathscriptvalue: mustafar\bossdeathname your script bossdeath and put on scripts/mustafar/ (mustafar is a subfolder of the scripts folder of your mod) on bossdeath script file, using Behaved,put use endlevel and build the ibi file. clicking Build button on icarus.done.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now