- 0
Sign in to follow this
Followers
0
What part of source triggers character select and attack?
Asked by
Lord Ganja
-
Recently Browsing 0 members
No registered users viewing this page.
I need help to locate this part of source that triggers:
1) After clicking Character Select Button
- I was about to create an npc script that is triggered AFTER clicking Character Select Button but BEFORE going to the Character Select Screen.
I just need to know which one and which part of the script is triggered right after you click the Char Select Button.
- What I will do here is like a confirmation message before a player logged out or go to the char select screen.
2) Before a player attack
- I was also about to create an npc script that is triggered when you click or about to attack anything.
- What I will also do here is, if a variable is equals to 1, the player can't attack anything.
- It's like a restriction so player can't attack anything.
I just need to know which part of the source triggers this. Thanks in advance!
EDIT:
I already found the #2 question 'Before a player attack' at battle.c..
Edited by Lord GanjaShare this post
Link to post
Share on other sites