A diplomatic response
This is perhaps what Africans would first think about if a world war breaks. Savvy nations would refuse to choose sides or respond separately from the African Union (AU).
Even though one cannot envision a situation where individual African countries remain totally unbiased, it may be in the interest of such countries to appear as good as grey.
African efforts should seek peace although the continent will play behind say the EU, in settling matters.