Opened 5 years ago
Closed 5 years ago
#5346 closed defect (duplicate)
Trigger script causes errors on later generated random maps in Atlas
Reported by: | FeXoR | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Atlas editor | Keywords: | |
Cc: | Patch: |
Description
Generating Danubius and afterwards Bahrain leads to:
WARNING: JavaScript warning: maps/random/danubius_triggers.js line 623 reference to undefined property this.GetTriggerPoints(...)[0] WARNING: JavaScript warning: maps/scripts/TriggerHelper.js line 23 Script value conversion check failed: v.isNumber() (got type undefined) ERROR: Script message handler OnGlobalInitGame failed ERROR: JavaScript error: globalscripts/vector.js line 199 TypeError: v1 is undefined Vector2D.sub@globalscripts/vector.js:199:2 Trigger.prototype.InitDanubius@maps/random/danubius_triggers.js:622:30 Trigger.prototype.DoAction@simulation/components/Trigger.js:331:3 Trigger.prototype.CallEvent@simulation/components/Trigger.js:225:4 Trigger.prototype.OnGlobalInitGame@simulation/components/Trigger.js:230:2 InitGame@simulation/helpers/InitGame.js:77:2
Both maps seem to generate properly.
Maybe the trigger script is not dismissed when generating a new map?
(Not sure if more a "Simulation" issue that "Atlas" or "Maps")
Change History (2)
comment:1 by , 5 years ago
Component: | UI & Simulation → Atlas editor |
---|---|
Keywords: | trigger removed |
comment:2 by , 5 years ago
Milestone: | Backlog |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
#4836