ijontichy

<stdin>

Apr 5th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. int floorZ = GetActorFloorZ(0);
  2. int ceilZ = GetActorCeilingZ(0);
  3. int spawnZ = floorZ + FixedMul(ceilZ - floorZ, 0.5);
  4. while (!Spawn("DakkaChainNade", targetX, targetY, spawnZ)) { spawnZ -= 4.0; }
Advertisement
Add Comment
Please, Sign In to add comment