- Joined
- Apr 7, 2007
- Messages
- 48
My map! My precious map, it wont start up anymore, as soon as it does it crashes because of a fatal error. I have absolutley no idea how to fix this. Someone ;_; im gonna cry.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Forest Init

Events


Time - Elapsed game time is 0.00 seconds

Conditions

Actions


Game - Display to (All players) the text: |CFFFF8A08Level 1|R...


Player - Set the current research level of Level 1 to 1 for Player 12 (Brown)


Player - Set the current research level of Spirit Number to 2 for Player 12 (Brown)


Player - Set the current research level of Eater Number to 1 for Player 12 (Brown)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




journal_level Equal to 1



Then - Actions




Set tmp_point = (Random point in Forest <gen>)




Unit - Create 1 Dark Artifact for Player 8 (Pink) at tmp_point facing Default building facing degrees




Set journal_unit = (Last created unit)




Hero - Create Mysterious Journal and give it to journal_unit




Trigger - Add to Journal Drop <gen> the event (Unit - A unit comes within 400.00 of journal_unit)



Else - Actions


Destructible - Kill Long Natural Bridge (Vertical) 0482 <gen>


Set tmp_point = (Random point in Forest <gen>)


Unit - Create 1 Dark Artifact for Player 8 (Pink) at tmp_point facing Default building facing degrees


Set currentartifact = (Last created unit)


Hero - Create Dark Heart of the Woods and give it to currentartifact


Trigger - Add to Kill Artifact <gen> the event (Unit - A unit comes within 400.00 of currentartifact)


Custom script: call RemoveLocation( udg_tmp_point )


Custom script: call DestroyTrigger(GetTriggeringTrigger())
Time - Elapsed game time is 0.00 seconds
Time - Elapsed game time is 0.10 seconds
I'm not sure, but maybe this is the problem:
Set it to this:Code:Time - Elapsed game time is 0.00 seconds
Code:Time - Elapsed game time is 0.10 seconds
Trigger - Add to Journal Drop <gen> the event (Unit - A unit comes within 400.00 of journal_unit)
Could you try to disable these two actions and tell if it work?Trigger - Add to Kill Artifact <gen> the event (Unit - A unit comes within 400.00 of currentartifact)
Kill Artifact

Events

Conditions


Or - Any (Conditions) are true



Conditions




(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)




(Owner of (Triggering unit)) Equal to Player 12 (Brown)

Actions


Set tmp_point = (Position of (Triggering unit))


Unit - Move currentartifact instantly to tmp_point


Unit - Kill currentartifact


Custom script: call RemoveLocation( udg_tmp_point )
Journal Drop

Events

Conditions


((Owner of (Triggering unit)) is an ally of Player 1 (Red)) Equal to True


(Owner of (Triggering unit)) Not equal to Player 8 (Pink)

Actions


Set tmp_point = (Position of (Triggering unit))


Unit - Move currentartifact instantly to tmp_point


Unit - Kill journal_unit


Custom script: call RemoveLocation( udg_tmp_point )
Custom script: set udg_journal_unit = CreateUnitAtLoc(ConvertedPlayer(8), ???, udg_tmp_point, bj_UNIT_FACING)
Forest Init

Events


Time - Elapsed game time is 2.00 seconds

Conditions

Actions


Game - Display to (All players) the text: |CFFFF8A08Level 1|R...


Player - Set the current research level of Level 1 to 1 for Player 12 (Brown)


Player - Set the current research level of Spirit Number to 2 for Player 12 (Brown)


Player - Set the current research level of Eater Number to 1 for Player 12 (Brown)


Destructible - Kill Long Natural Bridge (Vertical) 0482 <gen>


Set tmp_point = (Random point in Forest <gen>)


Custom script: set udg_currentartifact = CreateUnitAtLoc(ConvertedPlayer(8), 'u005', udg_tmp_point, bj_UNIT_FACING)


Hero - Create Dark Heart of the Woods and give it to (Last created unit)


Trigger - Add to Kill Artifact <gen> the event (Unit - A unit comes within 400.00 of (Last created unit))


Custom script: call RemoveLocation( udg_tmp_point )
'u005' means that's the fifth undead custom unit-type of your mapAnd also Yoshi just press Ctrl+D in the Obj Editor to see the raws for everthing.
