MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003163 | Zandronum | [All Projects] Bug | public | 2017-06-22 02:00 | 2017-06-23 15:31 |
Reporter | eagle | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Windows | OS | Windows Server 2012 R2 | OS Version | |
Product Version | 3.0-beta | ||||
Target Version | Fixed in Version | ||||
Summary | 0003163: ACS - SetActivatorToTarget - not working | ||||
Description | SetActivatorToTarget - not working In version 2.1.2 - works correctly. | ||||
Steps To Reproduce | script Hem_StFiendGrndAttack (void) { int old_activator = UniqueTID(); Thing_ChangeTID(0,old_activator); delay(1); int fiend_health = GetActorProperty(old_activator,APROP_Health); SetActorProperty(old_activator,APROP_Health,0); if (SetActivatorToTarget(old_activator)) { int target_tid = ActivatorTID(); delay(random(105,210));//3-6 seconds SetActorState(old_activator,"DontRaise"); int x = GetActorX(target_tid); int y = GetActorY(target_tid); int z = GetActorFloorZ(target_tid); int new_fiend_tid = UniqueTID(); SpawnForced("StoneFiend",x,y,z,new_fiend_tid,0); SetActorProperty(new_fiend_tid,APROP_Health,fiend_health); SetActorState(new_fiend_tid,"RaiseUnderTarget"); ACS_ExecuteAlways(Hem_MarkVictim,0,new_fiend_tid,target_tid); } terminate; } Instead of target of the monster, which is one of the players - the target is the monster himself, as a result - coordinates are taken from the monster itself, and not from the player аctor. Вместо цели монстра, которой является однин из игроков - цель сам монстр, в результате - координаты берутся от положения монстра, а не от игрока. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-06-22 02:00 | eagle | New Issue | |||
2017-06-22 03:32 | Ru5tK1ng | Note Added: 0017866 | |||
2017-06-22 07:14 | eagle | Note Added: 0017868 | |||
2017-06-22 07:15 | eagle | Note Added: 0017869 | |||
2017-06-22 07:24 | eagle | Note Edited: 0017868 | bug_revision_view_page.php?bugnote_id=17868#r10715 | ||
2017-06-22 07:25 | eagle | Note Edited: 0017868 | bug_revision_view_page.php?bugnote_id=17868#r10716 | ||
2017-06-22 08:45 | Ivan | Note Added: 0017870 | |||
2017-06-23 13:41 | eagle | Note Added: 0017885 | |||
2017-06-23 15:31 | Ru5tK1ng | Note Added: 0017889 | |||
2017-06-23 15:31 | Ru5tK1ng | Status | new => closed | ||
2017-06-23 15:31 | Ru5tK1ng | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|