ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:player

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
new:player [2018/02/20 16:53] korshunnew:player [2018/02/21 14:29] (current) korshun
Line 1: Line 1:
 +~~NOCACHE~~
 ====== Player utilities ====== ====== Player utilities ======
  
Line 13: Line 14:
 ===== SetActivatorToPlayer2 ===== ===== SetActivatorToPlayer2 =====
  
-''int SetActivatorToPlayer2(int player)''+''bool SetActivatorToPlayer2(int player)''
  
 A replacement for both [[zdoom>SetActivator]] with ''AAPTR_PLAYERx'' and [[zan>SetActivatorToPlayer]] that works in any port. A replacement for both [[zdoom>SetActivator]] with ''AAPTR_PLAYERx'' and [[zan>SetActivatorToPlayer]] that works in any port.
Line 69: Line 70:
 ''str PlayerName(int player)'' ''str PlayerName(int player)''
  
-Returns the player's name. Shorthand for ''StrParam(n:player+1)''.+Returns the player's name. Shorthand for ''StrParam(n:player + 1)''.
  
 ==== GetPlayerTeam ==== ==== GetPlayerTeam ====
new/player.1519138421.txt.gz · Last modified: 2018/02/20 16:53 by korshun