source: OniTrainer/OniTrainer_Packaged/Needed Stuff/EnvWarehouse/OniPlayer_level1.bsl @ 258

Last change on this file since 258 was 258, checked in by alloc, 12 years ago
File size: 364 bytes
Line 
1func void OniPlayer_spawn_check(void){
2        if(OniPlayer_spawn eq 2){
3                ai2_spawn A_t48 force
4                OniPlayer_spawn = 123
5                OniPlayer_spawned = (OniPlayer_spawned) + 1;
6        }
7        if(OniPlayer_spawn eq 1){
8                ai2_spawn A_t48 force
9                ai2_passive A_t48 1
10                OniPlayer_spawn = 123
11                OniPlayer_spawned = (OniPlayer_spawned) + 1;
12        }
13        sleep 25
14        fork OniPlayer_spawn_check
15}
Note: See TracBrowser for help on using the repository browser.