Hammerwatch

Hammerwatch

檢視統計資料:
Codzilla 2017 年 11 月 15 日 上午 9:42
Is there a way to make ObjectTrigger only trigger when the player hits the doodad?
It's really annoying when enemy projectiles hit objects and trigger stuff that's not supposed to happen until the player hits the object.
< >
目前顯示第 1-2 則留言,共 2
Taylor 2017 年 11 月 19 日 下午 1:56 
You can create two triggers that are both required for the action to occur - one that requires the player to stand in close proximity to the switch (area trigger) and another that requires the player to hit it (i.e. press a button). This will require character to move their character next to a switch and 'use' it.
DelightfulDingo 2017 年 12 月 3 日 下午 2:59 
Set up your object that requires the player or ally to hit it so that it may trigger an event but have the script for this event disabled from the start by attaching the 'Toggle Element' script node set to disabled and have a second script node set up as an 'Area Trigger' so that when a player or ally steps into the area it toggles the original script on.



< >
目前顯示第 1-2 則留言,共 2
每頁顯示: 1530 50