Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Kaiser

ACS question

Recommended Posts

Is there a way to get "print" to display the text to all players rather than just the player that activated the script?


like lets say I have this script:

script 1 (void)
{

print(s:"Test");
}

but when playing in coop mode, the text only displays to the player that activated it, how can it be done so that it can be displayed to all players?

thanks.

Share this post


Link to post

from zdoom.org:

ACS includes two commands for printing text on the screen. Print displays a message on the screen of the player that activated the script. Printbold displays a message on every player's screen

Share this post


Link to post

got one more question, is it possible to display the player's name while using print?

Share this post


Link to post

Currently you can use the new Zdoom Wiki for up to date information.

Deathman: Yes, you can print the players name. I dont remember exactly how. But you can always check the wiki.

Share this post


Link to post
Deathman said:

got one more question, is it possible to display the player's name while using print?



Yes: print(n:playernumber);

with 0<=playernumber<=7.

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
Sign in to follow this  
×