setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Defines the title effect.
| Defines the title effect via [Type, Effect, Text] where


Type can be "NONE", "OBJECT", "RES" or "TEXT".
'Type' can be  
*"NONE",  
*"OBJECT",  
**'Text' defines the shown object , a subclass of CfgTitles.


For "TEXT", the effect defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".
*"RES"
**'Text' defines a resource class, a subclass of RscTitles.
*"TEXT"
**The 'Text' is shown as text itself. 'Effect' defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN". |= Description
____________________________________________________________________________________________


Text is shown as text itself.
| trigger '''setTitleEffect''' ["type", "effect", "text"] |= Syntax


For "OBJECT", text defines the shown object , a subclass of CfgTitles.
|p1= trigger: [[Object]] |= Parameter 1


For "RES", text defines a resource class, a subclass of RscTitles. |= Description
|p2= type,effect,text: [[String]]s. See above
____________________________________________________________________________________________


| trigger or waypoint '''setTitleEffect''' [type, effect, text] |= Syntax
| [[Nothing]] |= Return value
 
|s2= [[Waypoint]] '''setTitleEffect''' ["type", "effect", "text"] |= Syntax
|p1= trigger or waypoint: [[Object]] |= Parameter 1


|p2= type: [[String]] |= Parameter 2
|p21= [[Waypoint]]: [[Array]] |= Parameter 1


|p3= effect: [[String]] |= Parameter 3
|p22= type,effect,text: [[String]]s. See above


|p4= text: [[String]] |= Parameter 4
|r2= [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |= Example 1
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:26, 31 August 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Defines the title effect via [Type, Effect, Text] where 'Type' can be
  • "NONE",
  • "OBJECT",
    • 'Text' defines the shown object , a subclass of CfgTitles.
  • "RES"
    • 'Text' defines a resource class, a subclass of RscTitles.
  • "TEXT"
    • The 'Text' is shown as text itself. 'Effect' defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".
Groups:
Uncategorised

Syntax

Syntax:
trigger setTitleEffect ["type", "effect", "text"]
Parameters:
trigger: Object
type,effect,text: Strings. See above
Return Value:
Nothing

Alternative Syntax

Syntax:
Waypoint setTitleEffect ["type", "effect", "text"]
Parameters:
Waypoint: Array
type,effect,text: Strings. See above
Return Value:
Nothing

Examples

Example 1:
_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section