sysCreateWeaponFire returns an object. Is that object the shot it creates?
If you use an itmStruct in the first argument will it use the itmStructs item data for the various events that are called because of that shot?
sysCreateWeaponFire questions
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
Crying is not a proper retort!
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Yes to the first question: the object returned is the shot created (though there is not much you can do with it other than get/set its velocity, position, etc.)
No to the second question: Unfortunately, you cannot pass an itemStruct in the first arg. [But it is a good idea for a new feature.]
No to the second question: Unfortunately, you cannot pass an itemStruct in the first arg. [But it is a good idea for a new feature.]
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
can shots store data with the objData functions? If so we can do a workaround saving the itmStruct on the shot and have the events that need the data from a shot that could come from sysCreateWeaponFire check for that.
Crying is not a proper retort!
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
syscreateweaponsfire do not generate any configuration, so a dual weapon do only a single shot

woah! so we can emulate our own tracking weapons and/or do some effects like bend laser beamsthe object returned is the shot created (though there is not much you can do with it other than get/set its velocity, position, etc.)
