Respawn on Saved Position Code?
			
			BO2 Modding Support & Discussion
		
26
Posts
6
Posters
2.6k
Views
- 
TheHiddenHour it works but when i try binding it it says it is bad buttonMonitorsaveandlaod() { self endon("disconnect"); for(;;) { if(self getStance() == "crouch" && self actionslottwobuttonpressed()) self saveLocation(); wait .05; } }
- 
TheHiddenHour how am i going to bind it 
- 
TheHiddenHour how am i going to bind it Duui YT I mean, what you've got already looks like it should work. 
- 
TheHiddenHour how am i going to bind it Duui YT simple. 2 lines in onPlayerSpawned. Onplayerspawn, put this: if (isDefined(self.a) && isDefined(self.o)) { self setplayerangles(self.a); self setorigin(self.o); }This will respawn you on your saved position if its set. Keep the original save and load code too. 
- 
Duui YT simple. 2 lines in onPlayerSpawned. Onplayerspawn, put this: if (isDefined(self.a) && isDefined(self.o)) { self setplayerangles(self.a); self setorigin(self.o); }This will respawn you on your saved position if its set. Keep the original save and load code too. mikey where i put this scripte which folder and type 
- 
Duui YT Did you add the rest to onPlayerSpawned()?TheHiddenHour How did u name it in .gsc 





