dantedevil
Well-known member
I try to use a generic portal llike an item, and give the player a score when touch the icon portal.
My portal is similar to this generic portal of Bloodbane.
In my mod after defeat a boss, a coin fall in the middle of the screen.
This coin is the portal and I want this coin give a certain score when you touch the icon. I try with some chenges but not work.
Code:
name Portal
nomove 1
type none
nolife 1
score 0 -1
antigravity 100
candamage player
setlayer 100
anim idle
loop 1
delay 50
followanim 1
followcond 1
offset 13 27
attack 1 2 32 26 0 0 1 1
noreflect 1
hitfx data/sounds/silent.wav
frame data/chars/misc/arrowr.png
frame data/chars/misc/empty.gif
anim follow1
delay 50
offset 13 27
frame data/chars/misc/arrowr.png
@cmd jumptobranch "Branch1" 1
frame data/chars/misc/empty.gif
frame data/chars/misc/arrowr.png
My portal is similar to this generic portal of Bloodbane.
In my mod after defeat a boss, a coin fall in the middle of the screen.
This coin is the portal and I want this coin give a certain score when you touch the icon. I try with some chenges but not work.