i need a cog that will change the player model when a sector is entered, the new player must be selectable in the placed cogs window if anyone can help, please
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
# modelchange.cog # Changes a player's model when they enter a sector # 04/25/01 # Aglar flags=0x204 symbols thing player local model newmodel model oldmodel local sector modelsector message startup message entered message exited end code startup: player = GetLocalPlayerThing(); oldmodel = GetThingModel(player); Return; entered: SetThingModel(player, newmodel); Return; Exited: SetThingModel(player, oldmodel); Return; end
# modelchange.cog # Changes a player's model when they enter a sector # 04/25/01 # Aglar flags=0x204 symbols thing player local model newmodel sector modelsector message startup message entered end code startup: player = GetLocalPlayerThing(); Return; entered: SetThingModel(player, newmodel); Return; End