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

Use ACS to remove player sprite

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.

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

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
×