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 "String"

From Snapwiki
Jump to: navigation, search
(Created page with "== String == A String variable can be set to a text string and used to control certain properties on other objects. {| class="wikitable" style="width: 60%;" !'''INPUTS''' |}...")
 
Line 3: Line 3:
 
A String variable can be set to a text string and used to control certain properties on other objects.
 
A String variable can be set to a text string and used to control certain properties on other objects.
  
 +
== Details ==
 +
{| class="wikitable"
 +
|-
 +
|[[File:String.PNG]]||
 +
'''Object''': String
 +
 +
'''Category''': Variable
 +
 +
|}
 +
== Inputs ==
 
{| class="wikitable" style="width: 60%;"
 
{| class="wikitable" style="width: 60%;"
!'''INPUTS'''
+
!colspan="3"|'''INPUTS'''
 +
|-
 +
|[[File:Build.png|64px|link=Input:Build]]||'''Build'''||Combine Integer, Number, Boolean or String variables into one String.
 +
|-
 +
|[[File:Set.png|64px|link=Input:Set]]||'''Set (String)'''||Set the String to the value specified in the input's properties.
 
|}
 
|}
  
;Build: Combine Integer, Number, Boolean or String variables into one String.
+
== Outputs ==
;Set (String): Set the String to the value specified in the input's properties.
+
 
+
 
{| class="wikitable" style="width: 60%;"
 
{| class="wikitable" style="width: 60%;"
!'''OUTPUTS'''
+
!colspan="3"|'''OUTPUTS'''
 +
|-
 +
|[[File:OnChanged.png|64px|link=Input:OnChanged]]||'''On Changed'''||When the value changes, send a signal. The activator is the Resource or Cached Entity that changed. There is no activator for Boolean, Color, Integer, Number or String variables.
 
|}
 
|}
  
;On Changed: When the value changes, send a signal. The activator is the Resource or Cached Entity that changed. There is no activator for Boolean, Color, Integer, Number or String variables.
+
== Properties ==
 +
{| class="wikitable" style="width: 60%;"
 +
!colspan="3"|'''PROPERTIES'''
 +
|-
 +
|'''Name'''||String||The name of this object. Rename an object to make it easy to identify.
 +
|-
 +
|'''Enable Scoring'''||Boolean||If false, no score will be awarded to teams or players.
 +
|-
 +
|'''Also Add to Team Score'''||Boolean||f true, any time a player is awarded points, the same amount will be awarded to their team.
 +
|-
 +
|'''Score Multiplier'''||Number||Scores awarded from kills will be scaled by this value.
 +
|-
 +
|'''Glory Kill Score Multiplier'''||Number||Score gained from glory kills will be scaled by this value.
 +
|-
 +
|'''Score For Player Kill'''||Integer||Number of points awarded to a player when they kill another player.
 +
|-
 +
|'''Score For Demon Player Kill'''||Integer||Number of points awarded to a player when they kill a demon player.
 +
|-
 +
|'''Par Time Bonus'''||Integer||Number of bonus points awarded to a player for completing the level under the Par Time defined in the Gameplay Settings.
 +
|-
 +
|'''Bonus For All Secrets Found'''||Integer||Number of bonus points awarded to a player for finding all the secrets in the map.
 +
|-
 +
|'''Demon Type (Possessed Scientist, Imp, Etc)'''||Integer||Number of points awarded when you kill this demon.
 +
|}

Revision as of 2016-06-01T16:02:40

String

A String variable can be set to a text string and used to control certain properties on other objects.

Details

String.PNG

Object: String

Category: Variable

Inputs

INPUTS
Build.png Build Combine Integer, Number, Boolean or String variables into one String.
Set.png Set (String) Set the String to the value specified in the input's properties.

Outputs

OUTPUTS
OnChanged.png On Changed When the value changes, send a signal. The activator is the Resource or Cached Entity that changed. There is no activator for Boolean, Color, Integer, Number or String variables.

Properties

PROPERTIES
Name String The name of this object. Rename an object to make it easy to identify.
Enable Scoring Boolean If false, no score will be awarded to teams or players.
Also Add to Team Score Boolean f true, any time a player is awarded points, the same amount will be awarded to their team.
Score Multiplier Number Scores awarded from kills will be scaled by this value.
Glory Kill Score Multiplier Number Score gained from glory kills will be scaled by this value.
Score For Player Kill Integer Number of points awarded to a player when they kill another player.
Score For Demon Player Kill Integer Number of points awarded to a player when they kill a demon player.
Par Time Bonus Integer Number of bonus points awarded to a player for completing the level under the Par Time defined in the Gameplay Settings.
Bonus For All Secrets Found Integer Number of bonus points awarded to a player for finding all the secrets in the map.
Demon Type (Possessed Scientist, Imp, Etc) Integer Number of points awarded when you kill this demon.