Jump to content
  • 0

Change thing/monster sprite through a script?


AzureDoomMapper1250

Question

4 answers to this question

Recommended Posts

  • 0

It's possible. Make another state in which you do what you need and use your another sprite. In ACS, Use SetActorState to jump to that state. 

 

 

5 hours ago, AzureDoomMapper1250 said:

 

Share this post


Link to post
  • 0

Thought what I would do, I think, I would name main state sprites as "####" "#" with quotes, in the main state, then states which you jump with the script , would have sprite name you wanna change to and 0 tic duration.

Example -

Mainstate: 

"####" "#" 5 //do stuff

Loop

Spritechange1:

BLAH A 0

Goto Mainstate

I hope you can figure out what I am trying to say :D

 

 

Share this post


Link to post
  • 0
16 hours ago, skaarjman said:

Thought what I would do, I think, I would name main state sprites as "####" "#" with quotes, in the main state, then states which you jump with the script , would have sprite name you wanna change to and 0 tic duration.

Example -

Mainstate: 

"####" "#" 5 //do stuff

Loop

Spritechange1:

BLAH A 0

Goto Mainstate

I hope you can figure out what I am trying to say :D

 

 

I dont get it?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...