Jump to content

Scripting a enemy character to change level upon death.


Go to solution Solved by Asgarath83,

Recommended Posts

  • Solution

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

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

How do I make the characters death activate the script? 

1 on target_level_change put

targetname: end_level

mapname (

value: the name of the map of next level

 

On npc entities of the map use

key deathscript

value  scriptfolder/scriptnamefile

)

example :

Key: deathscript

value: mustafar\bossdeath

name 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...