Talk:GetProjectileType
Revision as of 01:48, 10 August 2010 by imported>SpookyFX (New page: I will edit this this example unless some tells me I am incorrect. My impression is that setting ref to apple is no longer required as of OBSE17. That is what I was told in the forums any...)
I will edit this this example unless some tells me I am incorrect. My impression is that setting ref to apple is no longer required as of OBSE17. That is what I was told in the forums anyway.
So this:
ref rProj ... set rProj to Apple set rProj to (GetFirstRef 34 1) Label if rProj
if (rProj.GetProjectileType == 0) && (rProj.GetProjectileSource == TriggerHappyFan) rProj.SetPlayerProjectile else set rProj to Apple set rProj to GetNextRef Goto endif
endif
I will change to this:
ref rProj ... set rProj to (GetFirstRef 34 1) Label if rProj
if (rProj.GetProjectileType == 0) && (rProj.GetProjectileSource == TriggerHappyFan) rProj.SetPlayerProjectile else set rProj to GetNextRef Goto endif
endif