Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.
Difference between revisions of "Player Proxy"
From Snapwiki
(Update 3: Ability to Get and Set Score) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Logic]] | ||
== Player Proxy == | == Player Proxy == | ||
− | |||
The Player Proxy is used to apply inputs or gather outputs from players in your map. | The Player Proxy is used to apply inputs or gather outputs from players in your map. | ||
+ | |||
+ | == Details == | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |[[File:PlayerProxy.PNG]]|| | ||
+ | '''Object''': Player Proxy | ||
+ | |||
+ | '''Category''': Player & Team | ||
+ | |||
+ | |} | ||
== Inputs == | == Inputs == | ||
Line 7: | Line 17: | ||
!colspan="3"|'''INPUTS''' | !colspan="3"|'''INPUTS''' | ||
|- | |- | ||
− | | ||'''Hurt'''||Hurt a demon or player by the amount specified in the input's properties. Expects an AI or player as an activator. | + | |[[File:Hurt.png|64px|link=Hurt]]||'''Hurt'''||Hurt a demon or player by the amount specified in the input's properties. Expects an AI or player as an activator. |
|- | |- | ||
− | | ||'''Kill Player'''||Kill a player. Expects a player as an activator. | + | |[[File:Onkilled.png|64px|link=Kill Player]]||'''Kill Player'''||Kill a player. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Set Modifier'''||Apply a modifier, specified in the input's properties, to a player. Expects a player as an activator. | + | |[[File:SetModifier.png|64px|link=Set Modifier]]||'''Set Modifier'''||Apply a modifier, specified in the input's properties, to a player. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Give Player Score'''||Give the player the score specified in the input's properties. Expects a player as an activator. | + | |[[File:GiveScore.png|64px|link=Give Player Score]]||'''Give Player Score'''||Give the player the score specified in the input's properties. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Revive'''||Revive an incapacitated player. Expects a player as an activator. | + | |[[File:Revive.png|64px|link=Revive]]||'''Revive'''||Revive an incapacitated player. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Incapacitate'''||Incapacitate a player. Incapacitated players will die if they are not revived in time. Expects a player as an activator. | + | |[[File:Incapacitate.png|64px|link=Incapacitate]]||'''Incapacitate'''||Incapacitate a player. Incapacitated players will die if they are not revived in time. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Change Race'''||Transform a player into a human or a demon. Expects a player as an activator. | + | |[[File:ChangeRace.png|64px|link=Change Race]]||'''Change Race'''||Transform a player into a human or a demon. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Give Health'''||Give the player the amount of health specified in the input's properties. Expects a player as an activator. | + | |[[File:Heal.png|64px|link=Give Health]]||'''Give Health'''||Give the player the amount of health specified in the input's properties. Expects a player as an activator. |
|- | |- | ||
− | | ||'''Respawn'''||When the activator is a dead player, this action will respawn them | + | |[[File:Spawned.png|64px|link=Respawn]]||'''Respawn'''||When the activator is a dead player, this action will respawn them |
|- | |- | ||
− | | ||'''Set Point Of Interest'''||Apply a POI icon to the object. | + | |[[File:Set poi.png|64px|link=Set POI]]||'''Set Point Of Interest'''||Apply a POI icon to the object. |
|- | |- | ||
− | | ||'''Clear Points Of Interest'''||Remove any POIs that have been set. | + | |[[File:Remove poi.png|64px|link=Clear POI]]||'''Clear Points Of Interest'''||Remove any POIs that have been set. |
+ | |- | ||
+ | |[[File:SetPlayerScore.png|64px|link=Set Player Score]]||'''Set Player Score'''||Set the player's score to the value specified in the input's properties. Expects a player as an activator. | ||
|} | |} | ||
− | |||
− | |||
== Outputs == | == Outputs == | ||
Line 36: | Line 46: | ||
!colspan="3"|'''OUTPUTS''' | !colspan="3"|'''OUTPUTS''' | ||
|- | |- | ||
− | | ||'''On Revived'''||When a player is revived by a teammate, send a signal. The revived player is the activator. | + | |[[File:Revive.png|64px|link=On Revived]]||'''On Revived'''||When a player is revived by a teammate, send a signal. The revived player is the activator. |
|- | |- | ||
− | | ||'''On Incapacitated'''||When a player is incapacitated, send a signal. The incapacitated player is the activator. | + | |[[File:Incapacitate.png|64px|link=On Incapacitated]]||'''On Incapacitated'''||When a player is incapacitated, send a signal. The incapacitated player is the activator. |
|- | |- | ||
− | | ||'''On Player Spawned'''||When a player spawns, send a signal. The spawned player is the activator. | + | |[[File:Spawned.png|64px|link=On Player Spawned]]||'''On Player Spawned'''||When a player spawns, send a signal. The spawned player is the activator. |
|- | |- | ||
− | | ||'''On Killed'''||When a player is killed, send a signal. The activator, victim or killer, is specified in the output's properties. | + | |[[File:OnKilled.png|64px|link=On Killed]]||'''On Killed'''||When a player is killed, send a signal. The activator, victim or killer, is specified in the output's properties. |
|- | |- | ||
− | | ||'''On Hurt'''||When a player is hurt, send a signal. The activator, victim or attacker, is specified in the output's properties. | + | |[[File:Hurt.png|64px|link=On Hurt]]||'''On Hurt'''||When a player is hurt, send a signal. The activator, victim or attacker, is specified in the output's properties. |
|- | |- | ||
− | | ||'''On Killed a Demon Player'''||When a player kills a demon player, send a signal. The player that killed the demon player is the activator. | + | |[[File:OnKilledDemonPlayer.png|64px|link=On Killed a Demon Player]]||'''On Killed a Demon Player'''||When a player kills a demon player, send a signal. The player that killed the demon player is the activator. |
|- | |- | ||
− | | ||'''On Killed an AI'''||When a player kills an AI, send a signal. The player is the activator. | + | |[[File:OnKilledanAI.png|64px|link=On Killed an AI]]||'''On Killed an AI'''||When a player kills an AI, send a signal. The player is the activator. |
|- | |- | ||
− | | ||'''On Player Score Reached'''||When a player reaches the target score specified in the input's properties, send a signal. The player is the activator. | + | |[[File:OnScoreReached.png|64px|link=On Player Score Reached]]||'''On Player Score Reached'''||When a player reaches the target score specified in the input's properties, send a signal. The player is the activator. |
+ | |- | ||
+ | |[[File:OnIntensityChanged.png|64px|link=On Intensity Changed]]||'''On Intensity Changed'''||When the intensity changes, based on how well a player is playing, send a signal. The player whose intensity changed is the activator. | ||
+ | |- | ||
+ | |[[File:OnKilled.png|64px|link=On Killed Self]]||'''On Killed Self'''||When a player is killed by a hazard or their own splash damage, send a signal. The player is the activator. | ||
+ | |- | ||
+ | |[[File:OnMatchJoined.png|64px|link=On Match Joined]]||'''On Match Joined'''||When a player joins the match, send a signal. The player is the activator. | ||
+ | |- | ||
+ | |[[File:OnMatchLeft.png|64px|link=On Match Left]]||'''On Match Left'''||When a player leaves the match, send a signal. The player is the activator. | ||
+ | |} | ||
+ | |||
+ | == Properties == | ||
+ | {| class="wikitable" style="width: 60%;" | ||
+ | !colspan="3"|'''PROPERTIES''' | ||
|- | |- | ||
− | | ||''' | + | |'''Property'''||'''Type'''||'''Description''' |
|- | |- | ||
− | + | |'''Name'''||String||The name of this object. Rename an object to make it easy to identify. | |
|- | |- | ||
− | + | |'''Custom Filter'''||Grid Picker||Limits who or what can use this object. | |
|- | |- | ||
− | + | |'''Player Score Output (Variable)'''||Grid Picker||If set, all player scores will be written out to the player resource. | |
|} | |} |
Latest revision as of 2016-12-07T13:22:07
Contents
Player Proxy
The Player Proxy is used to apply inputs or gather outputs from players in your map.
Details
Object: Player Proxy Category: Player & Team |
Inputs
Outputs
Properties
PROPERTIES | ||
---|---|---|
Property | Type | Description |
Name | String | The name of this object. Rename an object to make it easy to identify. |
Custom Filter | Grid Picker | Limits who or what can use this object. |
Player Score Output (Variable) | Grid Picker | If set, all player scores will be written out to the player resource. |