Ok, so I have diffrent camera modes set up to where If the story plays for each diffrent object the camera changes position to the diffrent objects. each position changes just fine but the first one will not change till all the other modes have been called,then the first camera mode changes,here is my code.
If returnkey()=1 and enemy(e).talkmode=1 //this changes the camera mode wich is called talk
While returnkey()=1
endWhile
inc talk
else
if talk=7 then talk=0
endIf
// thease are the talking conditions
if sc_objectcollision(enemy(e).estates,2)=1 and talk=0
f9# = typeWriter("press enter to talk", 60, 650, 0.5, f9#)
cameramode=0
enemyanimations=0
idle=0
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=1
cameramode=4 //this is the first camera mode switch and it will not switch till all the others have already switched.
talk1=1
enemyanimations=1
idle=0
player(1).panimestate#=0
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=2
cameramode=5
talk1=2
enemyanimations=0
idle=1
player(1).panimestate#=2
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=3
cameramode=4
talk1=3
enemyanimations=1
idle=0
player(1).panimestate#=0
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=4
cameramode=5
talk1=4
enemyanimations=0
idle=1
player(1).panimestate#=2
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=5
cameramode=4
talk1=5
enemyanimations=1
idle=0
player(1).panimestate#=0
endif
if sc_objectcollision(2,enemy(e).estates)=1 and talk=6
cameramode=5
talk1=6
enemyanimations=0
idle=1
player(1).panimestate#=2
endif
my signature keeps being erased by a mod So this is my new signature.