Jump to content

[LE] How to detect Player in Fight?


Recommended Posts

Hey !...

 

i have problem cause i can't find Function for this :c

i know how can i do it in Conditions in CK

 

but how can i detect Player Fight status in Script?

 

 

for example something like

 

if ( Player == IsInFight() )

debug.trace( " can't activate in Fight " )

Else

; Activate

EndIf

 

 

Any idea how i can do it ? :c

 

 

i want allow player to activate object but only if he is completly hidden ( i dont know how to detect this too xD )

and only if player is not fighting with any1

 

i know player can't use Furniture in Fight... but its Trigger box xDDD

 

how can i do it for TriggerBox?

 

for example Player Enter TriggerBox and he is not fighting Script is activated and if he is in fight script is doing nothing :c

 

 

 

 

i found something like this ->

IsFightingControlsEnabled

 

Ugh xD Copy paste from CK Wiki :D

//Edit:

{

ohh xD

this

IsFightingControlsEnabled were rly big when copied and now its small xD

}

 

but it test if PLAYER CAN FIGHT not if PLAYER IS IN FIGHT T_T

 

help pls !

 

xD

Edited by TobiaszPL
Link to comment
Share on other sites

My gosh...

i was looking here: https://www.creationkit.com/index.php?title=List_of_Papyrus_Functions

 

and can't find this cause i was looking all time for something with "Fight" in name xD ugh

 

 

 

ty morogath ^_^ !...

 

//Edit:

also Ty foamyesque but morogath show it better than you :P still TY :D

 

and lel your name is hard to remember xD

Edited by TobiaszPL
Link to comment
Share on other sites

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...