RevanKnight Posted August 27, 2015 Share 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. Link to comment
Ramikad Posted August 27, 2015 Share Posted August 27, 2015 Place a target_change_level in the map, then make a deathscript that uses the new entity. RevanKnight, Tempust85 and MagSul like this Link to comment
Solution Asgarath83 Posted August 27, 2015 Solution Share 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 Link to comment
RevanKnight Posted August 27, 2015 Author Share 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 Link to comment
RevanKnight Posted August 27, 2015 Author Share 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? Link to comment
Ramikad Posted August 27, 2015 Share 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 Link to comment
RevanKnight Posted August 27, 2015 Author Share 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! Link to comment
mrwonko Posted August 28, 2015 Share 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 Link to comment
Asgarath83 Posted August 28, 2015 Share 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. Link to comment
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