skinwalker
Member
Hi,
I see the attack tasks consists of two things:
1. Move to target
2. Attack target
I need to perform a sequence when the player is out of range, but having both of these coupled makes it impossible.
I want to split those two into separate tasks, but I get the following problems:
1. Duplication, since I inherit from the same class I get all of the fields in the two tasks, I want the attack task target to be the same as the moveto task
2. The second class shows the attack agent is null and also the target transform is null
Please help
I see the attack tasks consists of two things:
1. Move to target
2. Attack target
I need to perform a sequence when the player is out of range, but having both of these coupled makes it impossible.
I want to split those two into separate tasks, but I get the following problems:
1. Duplication, since I inherit from the same class I get all of the fields in the two tasks, I want the attack task target to be the same as the moveto task
2. The second class shows the attack agent is null and also the target transform is null
Please help
Last edited: