• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Trigger a buff on game start

Annihilatorza

Scavenger
Hi All

All I am trying to is give a player an infection when the game starts and I cant get it right please help.

Here is the gameevent code.

<?xml version="1.0" encoding="utf-8"?>
<gameevents>
<append xpath="/gameevents/action_sequence[@name='player_spawns']">

<action class="Delay">
<property name="time" value="10"/>
<property name="phase" value="3"/>
</action>

<action class="AddBuff">
<property name="phase" value="3"/>
<property name="buff_name" value="bufftriggerInfection"/>
</action>

</append>
</gameevents>

Please let me know if you need the localiation or the buffs file as well.
 
Back
Top