on_player_copied/on_player_pasted
Posted: Fri Apr 29, 2016 6:25 pm
Add an event that triggers if a player copies/pastes an entity (Ctrl + left/right click)
on_player_copied should contain player_index and the entity which was copied
on_player_pasted should contain player_index, source_entity, target_entity
Uses: Copy mod settings specific to these entites (e.g. SmartTrains could copy the line a train is assigned to, logistic turrets could copy/paste the desired ammo from one turret to the other)
on_player_copied should contain player_index and the entity which was copied
on_player_pasted should contain player_index, source_entity, target_entity
Uses: Copy mod settings specific to these entites (e.g. SmartTrains could copy the line a train is assigned to, logistic turrets could copy/paste the desired ammo from one turret to the other)