User Tools

Site Tools


4rpl:commands:setcustomobjectivetext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setcustomobjectivetext [2021/04/28 01:09] Karsten754rpl:commands:setcustomobjectivetext [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 13: Line 13:
 SetCustomObjectiveText("Defeat Boss") SetCustomObjectiveText("Defeat Boss")
 </code> </code>
 +\\
 +A function that formats the text to look like the vanilla objectives:
 +<code 4rpl>
 +"Destroy Devices" "1/2" @SetText
 +
 +:SetText
 +    ->_text1 ->_text0
 +    "<line-height=0%><align=left>" <-_text0
 +    LF "<align=right>" <-_text1 "<#00000000>-"
 +    concat4 concat3 SetCustomObjectiveText
 +</code>
 +{{:4rpl:commands:screenshot_1.png?200|}}\\
 +\\
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/setcustomobjectivetext.1619572167.txt.gz · Last modified: 2025/02/14 14:56 (external edit)