I made a new item. a amulet. I wanna make it like that, if i usu it in battel- all enemies will die and the pary mamber hwo usued the amulet, will be knocket out. how can i do it?
right now is the item page like that:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg221.imageshack.us%2Fimg221%2F7370%2Fsavemine6ar.gif&hash=103581605c0e16a793859ee699fab1c8e6e0f2ca) (http://imageshack.us)
(i've changed the language lil bit over there :lol: )
bah too easy..
see the line named common event?
link it to a common event (which you can set in common events tab)
and the common event will go:
change monster hp button (3rd tab of event command)
set it to 9999 and choose reduce hp, mark reduce hp can kill
so now we got rid of all the monsters.
now, set the "scope" to user of the item
get hp recovery to -100% (yes minus 100%= he is dead).
and .. that's it.
the user is dead, the monsters are dead and you lost the suiciding potion
Quote from: blueXxbah too easy..
see the line named common event?
link it to a common event (which you can set in common events tab)
and the common event will go:
change monster hp button (3rd tab of event command)
set it to 9999 and choose reduce hp, mark reduce hp can kill
so now we got rid of all the monsters.
now, set the "scope" to user of the item
get hp recovery to -100% (yes minus 100%= he is dead).
and .. that's it.
the user is dead, the monsters are dead and you lost the suiciding potion
ty very much, but is it possible to leave the amulet.
sure, see the line named "consumable:" ? (next to the price), just turn it to no and the amulet will stay
but i think it can sorta make the game too easy seeing as it will allow you to kill anything easy Oo
you can make it like.. 3 uses and it's gone.
do it like that:
in the common event add:
variable(uses)=+1
if uses>=3 then
-change items = (amulet)-1
-variable uses=0
(no else needed)
(if you do it make sure consumable is on no cause otherwise it won't do anything Oo)
Quote from: blueXxsure, see the line named "consumable:" ? (next to the price), just turn it to no and the amulet will stay
but i think it can sorta make the game too easy seeing as it will allow you to kill anything easy Oo
you can make it like.. 3 uses and it's gone.
do it like that:
in the common event add:
variable(uses)=+1
if uses>=3 then
-change items = (amulet)-1
-variable uses=0
(no else needed)
(if you do it make sure consumable is on no cause otherwise it won't do anything Oo)
damn! i don't get. what am i doing wrong??The amulet dont disappear after 3 times, it just ad more amulets:S?
-.-
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg376.imageshack.us%2Fimg376%2F1803%2Famulet4lz.png&hash=f1c90f115aad104287febf248a3ddf3abb4b2000)
that's all.
(link it to the amulet, none consumable item, user of the item lose 100% hp)
ok, i got it now, thx :lol:
BTW, you'll want to make the number higher than 9999, monsters' hp can go waaay higher than that.