Anonymous | Login | 2024-11-21 15:03 CET |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000629 | Soldat | Gameplay | public | 2015-11-13 22:07 | 2016-04-05 22:54 | ||||
Reporter | TheOne | ||||||||
Assigned To | Falcon | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | x64 | OS | Windows | OS Version | 8.1 | ||||
Product Version | 1.6.9 | ||||||||
Target Version | Fixed in Version | 1.7.0 | |||||||
Summary | 0000629: ForceWeapon doesn't call OnWeaponChange | ||||||||
Description | When ID has fists as weapons and you call ForceWeapon(ID, x, FISTS) on him with any weapon x, then OnWeaponChange will not becalled | ||||||||
Steps To Reproduce | Download attached script, notice that when you change weapons it displays a message. Then type /fists (OnWeaponChange will be called with 255,255), then type /knife (OnWeaponChange will not be called, though you changed primary weapon to knife) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | test.pas [^] (382 bytes) 2015-11-13 22:07 | ||||||||
Notes | |
(0002521) Falcon (administrator) 2015-12-27 22:22 |
I've noticed ForceWeapon generally doesn't call OnWeaponChange at all for whatever reason. There was one inconsistency which is now fixed. I've decided to leave it that way as usually when you use ForceWeapon you don't want it to go through OnWeaponChange logic, and if you do, you can just call it yourself. |
(0002522) Falcon (administrator) 2015-12-28 02:36 |
Never mind, turns out i didn't actually fix the damn thing |
(0002523) TheOne (reporter) 2015-12-29 19:06 |
people are dieing out there, Falcon |
(0002547) Falcon (administrator) 2016-04-05 22:54 |
We had some discussion about it, in which we concluded this won't get fixed as it's usually what scripter wants. If he doesn't, he can always call OnWeaponChange after ForceWeapon himself. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-11-13 22:07 | TheOne | New Issue | |
2015-11-13 22:07 | TheOne | File Added: test.pas | |
2015-12-27 22:22 | Falcon | Note Added: 0002521 | |
2015-12-27 22:22 | Falcon | Status | new => resolved |
2015-12-27 22:22 | Falcon | Fixed in Version | => 1.7.0 |
2015-12-27 22:22 | Falcon | Resolution | open => won't fix |
2015-12-27 22:22 | Falcon | Assigned To | => Falcon |
2015-12-28 02:36 | Falcon | Note Added: 0002522 | |
2015-12-28 02:36 | Falcon | Status | resolved => feedback |
2015-12-28 02:36 | Falcon | Resolution | won't fix => reopened |
2015-12-28 02:36 | Falcon | Status | feedback => assigned |
2015-12-29 19:06 | TheOne | Note Added: 0002523 | |
2016-04-05 22:54 | Falcon | Note Added: 0002547 | |
2016-04-05 22:54 | Falcon | Status | assigned => closed |
2016-04-05 22:54 | Falcon | Resolution | reopened => won't fix |
Copyright © 2000 - 2024 MantisBT Team |