Hi,
in my game guards are roaming around with a "cone of vision". As soon as the player steps into the cone (=is seen by the guard) the game is over. I did this with the help of the Plugin OcRam_lights and it works 🙂 https://ocram-codes.net
◆Comment:<light:1:600:#ff0000:360>
:Comment:<light-ex:0,24:90:0:0>
◆If:Script:this.event().isPlayerInLightRadius()
◆Show Balloon Icon:This Event, Exclamation
◆Play SE:Load2 (90, 100, 0)
◆Text:None, None, Window, Bottom
:Text:Got you!
◆Game Over
◆
:End
Now I want to give the player an opportunity to knock guards out, simply by approaching them from behind and press the enter button.
I'm facing two problems now:
1. Roaming around with the cone of vision is a parallel event. But I want that there is a action-button-trigger too (to trigger the knocking-out, if the player "talks" to the guard)
2. I can't find a way to make the knocking-out only trigger-able from behind 🙁 Is there a way to make a event only trigger-able from one specific direction? I know that there is condition to make it depending of the direction of the player, but since the guard is running around that's not a option for me 🙁
Can anybody help me with that? 🙂
Thanks so much
in my game guards are roaming around with a "cone of vision". As soon as the player steps into the cone (=is seen by the guard) the game is over. I did this with the help of the Plugin OcRam_lights and it works 🙂 https://ocram-codes.net
◆Comment:<light:1:600:#ff0000:360>
:Comment:<light-ex:0,24:90:0:0>
◆If:Script:this.event().isPlayerInLightRadius()
◆Show Balloon Icon:This Event, Exclamation
◆Play SE:Load2 (90, 100, 0)
◆Text:None, None, Window, Bottom
:Text:Got you!
◆Game Over
◆
:End
Now I want to give the player an opportunity to knock guards out, simply by approaching them from behind and press the enter button.
I'm facing two problems now:
1. Roaming around with the cone of vision is a parallel event. But I want that there is a action-button-trigger too (to trigger the knocking-out, if the player "talks" to the guard)
2. I can't find a way to make the knocking-out only trigger-able from behind 🙁 Is there a way to make a event only trigger-able from one specific direction? I know that there is condition to make it depending of the direction of the player, but since the guard is running around that's not a option for me 🙁
Can anybody help me with that? 🙂
Thanks so much