Wie wärs mit einer differenzierteren Aussage?:roll:Check ich nicht ???
short easecpu;if you dont use this, the game will be very heavy for your cpu
float height
Begin Gamemode
if player.getequipped <itemid>
if easecpu < 10
set easecpu to easecpu +
return
else
set easecpu to 0
endif
<name of the activator>.moveto player
set height to <name of the activator>.getpos z + 150
<name of the activator>.setpos height z
<name of the activator>.cast Someawesomespelleditorid Player
endif
scn Somename2
ref self
Begin Scripteffectstart
set self to getself
if self.isactor == 0 || self.iscreature == 1;unfortunatly theres no isnpc function so you will also kill bandits, you can add || self.isactorevil == 1 but thatll stop killing some npcs
return
endif
if player.getlos self
kill self
endif
End
genannt hast. evtl zb killZauber01 oder was weiß ich^^<name of the activator>.cast Someawesomespelleditorid Player