Template:Infobox RF1Event: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:750px; background-color:#cccccc; margin:20px;"
<includeonly><div class="mainpage-box" style="width: 94.5%; padding-top: 5px; padding-bottom: 5px; margin-bottom: 8px;">
|-
{| style="width:100%; font-size: 11px;"
|colspan="2" style="text-align:center; background:#cccccc; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|<big>'''{{{eventname}}}'''<big>
|rowspan="2" style="text-align: center; width:50px; vertical-align: top;"|{{Tile|{{{image|Icon_Event_E.png}}}|||40|40}}
|-
|style="vertical-align: top;"|<h3 style="font-family: inherit; font-weight: bold; font-size: 13px; border-bottom: 1px dotted grey; margin-bottom: 5px; margin-top: 0; padding: 0; line-height: 1.6;">{{{eventname}}}</h3>{{{description}}}<div style="margin-bottom: 5px;"></div>
|colspan="2" style="text-align:center; background:#FFFFFF"|[[Image:{{{image|Icon_Event_E.png}}}|64px]]
<div class="mw-collapsible mw-collapsed" data-expandtext="Expand for details" data-collapsetext="Collapse details" style="vertical-align: top;">
|-
<div style="border-bottom: 1px dotted grey; width: 100%; font-weight: bold; font-size: 13px; margin-bottom: 5px;">On Response</div>{{{on|None}}}<div style="margin-bottom: 5px;"></div>
|colspan="2" style="text-align:center; background:#cccccc font-size:150%"|'''{{{category}}}'''
<div style="border-bottom: 1px dotted grey; width: 100%; font-weight: bold; font-size: 13px; margin-bottom: 5px;">Off Response</div>{{{off|None}}}<div style="margin-bottom: 5px;"></div>
|-
<div style="border-bottom: 1px dotted grey; width: 100%; font-weight: bold; font-size: 13px; margin-bottom: 5px;">Parameters</div>
|style="padding:5px;width:95px;background:#ffffff"|'''Description'''
{{{params|No additional parameters.}}}</div>
|style="color:black; background:#aaaaaa"|{{{description|}}}
|}</div></includeonly><noinclude>
|-
{{Infobox RF1Event
|style="padding:5px;width:95px;background:#ffffff"|'''On Response'''
|eventname      = Attack
|style="color:black; background:#aaaaaa"|{{{on|None}}}
|category      = AI_Actions
|-
|description    = Used to force AI entities to attack objects.
|style="padding:5px;width:95px;background:#ffffff;text-align:top"|'''Parameters'''
|on            = Make attacker specified by attacker uid param attack the object the Attack event is linked to.
|style="color:black; background:#aaaaaa"|{{{params|No additional parameters.}}}
|params        = '''Attacker uid:''' Primary, Secondary, Flare.  What type of weapon to use.
|}<noinclude>
}}
 
{|float="left"
{|float="left"
|<pre>
|<pre>

Latest revision as of 19:38, 24 February 2024

Icon Event E.png

Attack

Used to force AI entities to attack objects.
On Response
Make attacker specified by attacker uid param attack the object the Attack event is linked to.
Off Response
None
Parameters
Attacker uid: Primary, Secondary, Flare. What type of weapon to use.
{{Infobox RF1Event
|eventname      =
|image          = (default is E)
|category       =
|description    =
|on             = (default is "None")
|off            = (default is "None")
|params         = (default is "No additional parameters.")
}}