BoneCrafter
03-13-2012, 11:51 AM
Open the file game/modkit/tutorial/Tutorial03Objective.cs with your code editor
This objective will start a small fight between you and 3 teammates vs endless waves of enemies. Some things we will cover:
- Putting the main character inMission (so no other objectives are running) and then taking them back out of mission
- How to use ObjectiveFunction::fightClosestTarget to control who fights who and when characters can powermove
- How to spawn and unspawn objective characters such as teammates and enemies
- How to create a function that controls and monitors gameplay
- How to clean up the objective when it finishes
This objective will start a small fight between you and 3 teammates vs endless waves of enemies. Some things we will cover:
- Putting the main character inMission (so no other objectives are running) and then taking them back out of mission
- How to use ObjectiveFunction::fightClosestTarget to control who fights who and when characters can powermove
- How to spawn and unspawn objective characters such as teammates and enemies
- How to create a function that controls and monitors gameplay
- How to clean up the objective when it finishes