Jump to content
  • 0

Use ACS to remove player sprite


Bauul

Question

Is there any way to use ACS to hide the player sprite in a specific map, and then reinstate it later? E.g. if the player looks in a mirror then nothing is shown.

Edited by Bauul

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

@Nevander That worked!  Thank you.  The working code (for prosperity) is:

 

script 1 ENTER
{
    SetActorProperty(0, APROP_RenderStyle, STYLE_Translucent);
	SetActorProperty(0, APROP_Alpha, 0.0);
}

I did try RenderStyle "None" but that disables the weapon sprites too, which I didn't want.  But the above works perfectly.  Thank you!

Share this post


Link to post
  • 2

Yea you might could do a SetActorProperty to change the alpha of the actor (you) to 0.0 or invisible, and change it back later. No idea if it works on the player actor but I don't see why not.

Edited by Nevander

Share this post


Link to post
  • 0

Thanks! I also see on that same wiki entry APROP_RenderStyle which you apparently can set to "None". I'll try both.

Share this post


Link to post
  • 0
1 hour ago, Albertoni said:

Can I steal the idea you describe in the question? Pretty please?

Hah, please do! 

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...