Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0

Question

What to write in decorate so that a spear, which I created in a sprite, touches the player and is quickly killed?

(the trap spines in sonic for example)

 

SPEAR.png

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
59 minutes ago, kassianoaguiar said:

What to write in decorate so that a spear, which I created in a sprite, touches the player and is quickly killed?

(the trap spines in sonic for example)

I assume you mean that the spear is "scenery" and not a weapon. You would need to set up a radius within which the player who comes close to the spear is damaged or killed (using a melee attack).

Share this post


Link to post
  • 0

I found!

 

ACTOR SPEAR 655
{
    //$Category "Obstacle"
    Radius 22
    Height 30
    Damage 1
    States
    {
    Spawn:
      SPEA A 1 Bright A_Chase
      SPEA B 1 Bright A_explode (100000, 26)
      Loop
  }
}
 

I put many things grouped in a single room and the player summarily killed himself. great

Share this post


Link to post

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
×