The shield object is already created, so we just want to make it active. As we want it to be deactivated after 5 seconds, we need to create a timer to do this.
tmShieldTime, and when it should fire (in
eng.CreateObjTimer(g.shield, g.tmShieldTime, 5000)
g.shield.SetActive(True) Return 0 End
The last method you have created will activate the shield of the player ship and create ...