0 Members and 1 Guest are viewing this topic.
A_CustomMissile (string missiletype[, float spawnheight[, int spawnofs_horiz[, angle angle[, int aimflags[, angle pitch]]]]])
actor Blabla 69420{// some flags hereStates{ Spawn: FRAM A 0 A_Look loop See: FRAM A 4 FRAM A 8 FRAM A 16 FRAM A 64 goto See+4 // WHERE DOES THIS JUMP TO?// death etc here}
As for Pitch, it effects the pitch up or down.
2) Go to the see state +4 frames.
FRAM A 64
No problem. Though for Number 2, It's still answered.Go to see state, plus 4 FRAMES
See: SCBM C 0 A_ChangeFlag("INVULNERABLE",0) // 1 frame?? SCBM CCDDEE 4 // 6 frames??? SCBM C 0 A_JumpIfCloser(256, "Missile") goto See+7 // want to skip to jump if closer.. what is a FRAMES??
SCBM CSCBM CCDDEE
Yes, in terms of what you said, that is a frame. See+7 would skipCode: [Select]SCBM CSCBM CCDDEEAs for the crashing. I'm not entirely sure, it may have something to do with that last frame being 0 tics then hitting the goto again immediately.