13lade619
is now a game developer :)
- Reaction score
- 398
I was thinking of coding a chain system, like in the popular spell Meat Hook where you have a chain of units.
Planned functions:
Basic 'Meat Hook' type.
Chain 2 units together.
Chain 2 points together.
Chain Unit to point, or Chain point to unit.
*Add duration to existing chain.
*Destroy existing chain.
Planned Framework:
Hashtable
> stores SourceUnit and TargetUnit as keys.
> on Point chains, the target unit is an invisible dummy.
Linked List
> for the chain of units
Planned functions:
Basic 'Meat Hook' type.
Chain 2 units together.
Chain 2 points together.
Chain Unit to point, or Chain point to unit.
*Add duration to existing chain.
*Destroy existing chain.
Planned Framework:
Hashtable
> stores SourceUnit and TargetUnit as keys.
> on Point chains, the target unit is an invisible dummy.
Linked List
> for the chain of units