Template:Infobox RF1Event: Difference between revisions

From Red Faction Wiki
mNo edit summary
mNo edit summary
Line 2: Line 2:
{| style="width:100%; font-size: 11px;"
{| style="width:100%; font-size: 11px;"
|rowspan="2" style="text-align: center; width:80px; vertical-align: top;"|{{Tile|{{{image|Icon_Event_E.png}}}|||60|60}}
|rowspan="2" style="text-align: center; width:80px; vertical-align: top;"|{{Tile|{{{image|Icon_Event_E.png}}}|||60|60}}
|style="vertical-align: top;"|<div style="border-bottom: 1px dotted grey; font-weight: bold; font-size: 13px; margin-bottom: 5px;">{{{eventname}}}</div>{{{description}}}<div style="margin-bottom: 5px;"></div>
|style="vertical-align: top;"|<h3 style="font-family: inherit; font-weight: bold; font-size: 13px; border-bottom: 1px dotted grey; margin-bottom: 5px; padding: 0; line-height: 1.6;">{{{eventname}}}</h3>
<!--<div style="border-bottom: 1px dotted grey; font-weight: bold; font-size: 13px; margin-bottom: 5px;">{{{eventname}}}</div>-->{{{description}}}<div style="margin-bottom: 5px;"></div>
<div class="mw-collapsible mw-collapsed" data-expandtext="Expand for details" data-collapsetext="Collapse details" style="vertical-align: top;">
<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>
<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>
Line 9: Line 10:
{{{params|No additional parameters.}}}</div>
{{{params|No additional parameters.}}}</div>
|}</div></includeonly><noinclude>
|}</div></includeonly><noinclude>
 
{{Infobox RF1Event
|eventname      = Attack
|category      = AI_Actions
|description    = Used to force AI entities to attack objects.
|on            = Make attacker specified by attacker uid param attack the object the Attack event is linked to.
|params        = '''Attacker uid:''' Primary, Secondary, Flare.  What type of weapon to use.
}}
{|float="left"
{|float="left"
|<pre>
|<pre>

Revision as of 02:09, 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.")
}}