Hook Manifest

Hook Name: wOS.ALCS.GetSequenceOverride

Type: SHARED

Function: Overwrites sequence being played on the player

Arguments: ENTITY_PLAYER, VECTOR_VELOCITY

Returns: INT_ACT, INT_SEQUENCE

 

Hook Name: wOS.ALCS.Combat.PreProjectileBlock

Type: SERVER

Function: Return true to prevent stamina/force power check of blocking projectiles

Arguments: ENTITY_WEAPON, ENTITY_PLAYER, DAMAGEINFO_DMG, INT_HITGROUP

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.ShouldProjectileBlock

Type: SERVER

Function: Return true to block projectile, no matter the type of projectile it is

Arguments: ENTITY_WEAPON, ENTITY_PLAYER, DAMAGEINFO_DMG, INT_HITGROUP

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.PreProjectileDeflect

Type: SERVER

Function: Called before a projectile is deflected

Arguments: ENTITY_WEAPON, ENTITY_PLAYER, TABLE_BULLET, DAMAGEINFO_DMG

Returns: nothing

 

Hook Name: wOS.ALCS.Combat.OnProjectileBlocked

Type: SERVER

Function: Return true to prevent force or stamina being taken for the successful block

Arguments: ENTITY_WEAPON, ENTITY_PLAYER, DAMAGEINFO_DMG, INT_HITGROUP

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.PostProjectileBlocked

Type: SERVER

Function: Called after a successful deflect, and after force/stamina is taken away

Arguments: ENTITY_WEAPON, ENTITY_PLAYER, DAMAGEINFO_DMG, INT_HITGROUP

Returns: nothing

 

Hook Name: wOS.ALCS.GetCharacterID

Type: SERVER

Function: Called when the addon requests the player's character ID. Return the ID or 0 if it's not selected

Arguments: ENTITY_PLAYER

Returns: INT_CHARID

 

Hook Name: wOS.ALCS.GetPlayerCurrency

Type: SERVER

Function: Called when the addon requests the player's currency. Return the amount of money they have

Arguments: ENTITY_PLAYER

Returns: INT_MONEY

 

Hook Name: wOS.ALCS.SetPlayerCurrency

Type: SERVER

Function: Called when the addon changes the player's currency. Return true to block the default functionality

Arguments: ENTITY_PLAYER, INT_DELTA_AMOUNT

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.DrawLightsaberHUD

Type: CLIENT

Function: Called when the addon is creating the lightsaber HUD. Return true to block the default functionality

Arguments: ENTITY_WEAPON

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.GetHeavyCoolDown

Type: SERVER

Function: Called when the addon is checking for heavy cooldowns. Return the value as the cooldown between heavy attacks

Arguments: ENTITY_WEAPON, ENTITY_PLAYER

Returns: INT_COOLDOWN

 

Hook Name: wOS.ALCS.Lightsaber.PreSettingsApply

Type: SERVER

Function: Called before all the toolgun / skills / crafting data is applied to the lightsaber

Arguments: ENTITY_WEAPON, ENTITY_PLAYER

Returns: nothing

 

Hook Name: wOS.ALCS.Lightsaber.PostSettingsApply

Type: SERVER

Function: Called after all the toolgun / crafting data is applied to the lightsaber, but before the skills are applied

Arguments: ENTITY_WEAPON, ENTITY_PLAYER

Returns: nothing

 

Hook Name: wOS.ALCS.Lightsaber.PostSkillApply

Type: SERVER

Function: Called after all the settings are applied to the lightsaber, including their skills

Arguments: ENTITY_WEAPON, ENTITY_PLAYER

Returns: nothing

 

Hook Name: wOS.ALCS.Lightsaber.PostSkillApply

Type: SERVER

Function: Called after all the settings are applied to the lightsaber, including their skills

Arguments: ENTITY_WEAPON, ENTITY_PLAYER

Returns: nothing

 

Hook Name: wOS.ALCS.Skills.CanPurchaseSkill

Type: SERVER

Function: Called when the player purchases a skill. Return true to block the skill from being purchased

Arguments: ENTITY_PLAYER, TABLE_SKILLDATA, STRING_TREE, INT_TIER, INT_SKILL

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.PreBladeBlock

Type: SERVER

Function: Return true to prevent stamina/force power check of blocking lightsabers

Arguments: ENTITY_WEAPON, ENTITY_ENEMY_WEAPON, ENTITY_ENEMY_PLAYER

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.ShouldBladeParry

Type: SERVER

Function: Return true to prevent stamina/force power check of parrying lightsabers

Arguments: ENTITY_WEAPON, ENTITY_ENEMY_WEAPON, ENTITY_ENEMY_PLAYER, INT_PARRY_COST

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.OnBladeParry

Type: SERVER

Function: Called when an attack is successfully parried

Arguments: ENTITY_WEAPON, ENTITY_ENEMY_WEAPON, ENTITY_ENEMY_PLAYER, INT_PARRY_COST

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Combat.OnBladeBlocked

Type: SERVER

Function: Return true to prevent stamina/force deduction when blocking lightsabers

Arguments: ENTITY_WEAPON, ENTITY_ENEMY_WEAPON, ENTITY_ENEMY_PLAYER

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Proficiency.ShouldGainXP 

Type: SERVER

Function: Checks if the player should be able to gain XP in the Crafting XP Realm. Return true to prevent. If you want to add crafting XP here, make sure you add a player bool check so you don't crash your server!

Arguments: ENTITY_PLAYER, NUMBER_AMOUNT

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Proficiency.GetNPCXP

Type: SERVER

Function: Checks the amount of Crafting XP the player should get when an NPC is killed. Return an XP number to award that amount instead.

Arguments: ENTITY_PLAYER, ENTITY_NPC, NUMBER_AMOUNT

Returns: INT_XP

 

Hook Name: wOS.ALCS.Proficiency.GetPlayerXP

Type: SERVER

Function: Checks the amount of Crafting XP the player should get when an NPC is killed. Return an XP number to award that amount instead.

Arguments: ENTITY_PLAYER_ATTACKER, ENTITY_PLAYER_VICTIM, NUMBER_AMOUNT

Returns: INT_XP

 

Hook Name: wOS.ALCS.Skill.ShouldGainXP

Type: SERVER

Function: Checks if the player should be able to gain XP for the main Skill XP. Return true to prevent. If you add Skill XP here, make sure you add a player bool check so you don't crash your server!

Arguments: ENTITY_PLAYER, NUMBER_AMOUNT

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Skill.GetNPCXP

Type: SERVER

Function: Checks the amount of Skill XP the player should get when an NPC is killed. Return an XP number to award that amount instead.

Arguments: ENTITY_PLAYER, ENTITY_NPC, NUMBER_AMOUNT

Returns: INT_XP

 

Hook Name: wOS.ALCS.Skill.GetPlayerXP

Type: SERVER

Function: Checks the amount of Skill XP the player should get when an NPC is killed. Return an XP number to award that amount instead.

Arguments: ENTITY_PLAYER_ATTACKER, ENTITY_PLAYER_VICTIM, NUMBER_AMOUNT

Returns: INT_XP

 

Hook Name: wOS.ALCS.CanUseForcepower

Type: SERVER

Function: Checks if the player can use a force power. Return true to prevent.

Arguments: ENTITY_PLAYER, ENTITY_WEAPON, TABLE_FORCEPOWER_DATA ( Same as Registration )

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Admin.CanUseMenu

Type: SERVER

Function: Checks if the player can open the admin menu. Return true to bypass any check

Arguments: ENTITY_PLAYER

Returns: BOOL_BYPASS

 

Hook Name: wOS.ALCS.Dueling.BlockDuel

Type: SERVER

Function: Checks if the player can challenge someone to a duel. Return true to block

Arguments: ENTITY_PLAYER_CHALLENGER, ENTITY_PLAYER_VICTIM, TABLE_DUEL_INFO

Returns: BOOL_BLOCK

 

Hook Name: wOS.ALCS.Skill.OnLevelUp

Type: SERVER

Function: Called when the player has just received a Skill Level Up

Arguments: ENTITY_PLAYER

Returns: NOTHING

 

Hook Name: wOS.ALCS.Skill.OnSkillReset

Type: SERVER

Function: Called when the player has just reset their skills

Arguments: ENTITY_PLAYER, INT_SKILLPOINT_REFUND

Returns: NOTHING

 

Hook Name: wOS.ALCS.Proficiency.OnLevelUp

Type: SERVER

Function: Called when the player has just received a Crafting Level Up

Arguments: ENTITY_PLAYER

Returns: NOTHING

 

Hook Name: wOS.ALCS.Inventory.OnItemPickUp

Type: SERVER

Function: Called when the player has just picked up an Item.

Arguments: ENTITY_PLAYER, STRING_ITEM_NAME, INT_SLOT, INT_AMOUNT

Returns: NOTHING


Hook Name: wOS.ALCS.Inventory.OnItemDropped

Type: SERVER

Function: Called when the player has just dropped an item.

Arguments: ENTITY_PLAYER, STRING_ITEM_NAME, INT_AMOUNT, INT_SLOT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnAddXP

Type: SERVER

Function: Called when the player has just given another player xp.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnAddLevel

Type: SERVER

Function: Called when the player has just given another player Levels.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnAddSkillPoints

Type: SERVER

Function: Called when the player has just given another player Skill Points.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnSetXP

Type: SERVER

Function: Called when the player has just set another players XP.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnSetLevel

Type: SERVER

Function: Called when the player has just set another players Level.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnSetSkillPoints

Type: SERVER

Function: Called when the player has just set another players SkillPoints.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnGiveMaterials

Type: SERVER

Function: Called when the player has just given another player materials.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, STRING_ITEM_NAME, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnRemoveMaterials

Type: SERVER

Function: Called when the player has had materials removed from their inventory.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, STRING_ITEM_NAME, INT_AMOUNT

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnGiveItem

Type: SERVER

Function: Called when the player has just given another player materials.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, STRING_ITEM_NAME

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnRemoveItem

Type: SERVER

Function: Called when the player has had items removed from their inventory.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, STRING_ITEM_NAME

Returns: NOTHING

 

Hook Name: wOS.ALCS.Admin.OnSpawnItem

Type: SERVER

Function: Called when the player has spawned an item in.

Arguments: ENTITY_PLAYER, ENTITY_TARGET_PLAYER, STRING_ITEM_NAME

Returns: NOTHING

 

Hook Name: wOS.ALCS.Crafting.CanEquipItem

Type: SERVER

Function: Called when the player attempts to Equip and Item. Return true to allow, false to block and nil to continue through checks

Arguments: ENTITY_PLAYER, TABLE_ITEM_DATA

Returns: BOOLEAN


Hook Name: wOS.SkillTrees.OnMountToHud

Type: SERVER

Function: Called whenever the Level Hud would be drawn. Return true to prevent draw

Arguments: ENTITY_PLAYER

Returns: BOOLEAN

 

Hook Name:wOS.ALCS.Skill.CanViewTree

Type: SHARED

Function: Called when its checked to see if a player can view/apply a Skill Tree. Return True to allow, False to prevent

Arguments: ENTITY_PLAYER, STRING_TREE_NAME, TABLE_TREE_DATA

Returns: BOOLEAN

 

Hook Name: wOS.ALCS.Inventory.OnItemDropped

Type: SERVER

Function: Called when a Player drops an Item

Arguments: ENTITY_PLAYER, STRING_ITEM, INT_AMOUNT, INT_DROP_SLOT

Returns: NOTHING

 

Hook Name:wOS.ALCS.Inventory.OnItemPickUp

Type: SERVER

Function: Called when a Player picks up an Item

Arguments: ENTITY_PLAYER, STRING_ITEM, INT_SLOT, INT_AMOUNT

Returns: NOTHING

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Installation and Configuration

Section One: Preparing Your ServerBefore you begin installing the addon you will need to prepare...

How To Disable The WiltOS Chat Advertisement

How to disable the wOS chat advert Navigate to lua/wos/advswl/config/general/sh_serverwos.lua...

Controls

wOS ALCS Controls   Changing Stance To change stance, hold down your USE key and press PRIMARY...

Packages

wiltOS Technologies - Advanced Lightsaber Combat System PackagesPadawanPrice - $50.00 USD A...

New DRM Info

Installing DLLs for DRM How to install the dlls This information is crucial to your experience...