int flashdummy local
under fire:
flashdummy = FireProjectile(player, flash etc etc)
now, above this I need the cog to say that the flash dummy's velocity must equal that of the player's (ie, the flash dummy travels WITH the player)
Ive tried these without success:
SetThingVel(dummy, vectorScale(GetThingVel(dummy), 1));
SetThingVel(flashdummy, vectorScale(GetThingVel(player)), 1));
flashdummy = ((VectorY(GetThingVel(player)) + VectorX(GetThingVel(player))) * 1) * 1;
Any help people? The cog is other wise flawless
------------------
Is it a squid?
Is it a ferret?
both !
its ruthervain-man
yes!
ruthervain - man! :
with the power to disrupt and ultimately kill any thread that he replies to.
under fire:
flashdummy = FireProjectile(player, flash etc etc)
now, above this I need the cog to say that the flash dummy's velocity must equal that of the player's (ie, the flash dummy travels WITH the player)
Ive tried these without success:
SetThingVel(dummy, vectorScale(GetThingVel(dummy), 1));
SetThingVel(flashdummy, vectorScale(GetThingVel(player)), 1));
flashdummy = ((VectorY(GetThingVel(player)) + VectorX(GetThingVel(player))) * 1) * 1;
Any help people? The cog is other wise flawless
------------------
Is it a squid?
Is it a ferret?
both !
its ruthervain-man
yes!
ruthervain - man! :
with the power to disrupt and ultimately kill any thread that he replies to.
Code:
if(getThingFlags(source) & 0x8){ do her} elseif(getThingFlags(source) & 0x4){ do other babe} else{ do a dude}