Ideas for new level editor stuff

Give us your feedback about the Level Editor! Or have an idea? Post it here!

Ideas for new level editor stuff

Postby TerminatorRex » 18 February 2018, 21:16

Region activation:
    -Player in vehicle
    -Player not in vehicle

Engine mark:
    -Disable snow on map

Trigger:
    -Continue trigger actions execution only if value of variable 'A' is numeric
    -Continue trigger actions execution only if value of variable 'A' is alphabetic
    -Continue trigger actions execution only if value of variable 'A' is alphanumeric
    -Continue trigger actions execution only if value of variable 'A' contains value of variable 'B'
(for example if var A is bananashake and var B is 'banana' or 'nashak' or 'shake' then it will continue)
    -Respective 'do not continue' actions for these ones
    -Skip next trigger action if value of variable 'A' equal to value 'B'
    -Set current hit points of Character 'A's health to value of variable 'B'
    -Set current and max hit points of Character 'A's health to value of variable 'B'
    -Send value of variable 'A' with POST to URL stored in value of variable 'B'
    -Send GET for variable 'A' to URL stored in variable 'B' then store the response to value of variable 'A'
User avatar
TerminatorRex
Usurpation Soldier [50]
 
Posts: 87
Joined: 12 February 2017, 12:51

Re: Ideas for new level editor stuff

Postby Dandamage » 22 February 2018, 22:51

Topic moved to another forum section. No warning issued.

Also, really nice suggestions. I can definitely see this being implemented either in PB2.5 or PB2.
Image
User avatar
Dandamage
Moderator
 
Posts: 267
Joined: 15 August 2015, 15:01
Location: dandamage

Re: Ideas for new level editor stuff

Postby GiraRay » 27 February 2018, 18:47

-Skip next trigger action if value of variable 'A' equal to value 'B'


This can be done by using a double skip

The first skip action includes the string that will skip the next trigger action
The action after that will be another skip action that will have a random number (i.e 346284356)
The action after the second skip will be the trigger action that you'd like to skip (i.e text display, trigger execution, etc.)

What this does is the first skip will allow the second skip to skip the next trigger action if the variable includes the required string. If the variable does not contain this string, the first skip will skip the second skip which concludes with the last trigger action being executed.

Spoiler: Show More
TRIGGER TEXT

uid: #trigger*1
enabled: true
maxcalls: 1

VarSetValue( "skip", "5" );
next if VarA == ValueB( "skip", "5" );
next if VarA == ValueB( "skip", "43567890456789067" );
ShowText( "hi", "0" );
http://plazmaburst2.com/?s=9&a=&m=giraray-riddle1&id=826345
User avatar
GiraRay
Advanced Usurpation Soldier [150]
 
Posts: 169
Joined: 25 June 2015, 16:26

Re: Ideas for new level editor stuff

Postby Kaiju Category 7 » 11 March 2018, 05:52

-Allow or disallow usage of psi swords by a team (parameter B) with value of parameter A

This trigger allows a particular team to not have swords (e.g. hostages) instead of disabling swords from everyone. It can be used for other purposes too, depending on the map editor's creativity.
User avatar
Kaiju Category 7
Recruit
 
Posts: 16
Joined: 14 January 2018, 05:49

Re: Ideas for new level editor stuff

Postby MLG COOL DOMINIK » 16 March 2018, 13:01

TerminatorRex wrote:Region activation:
    -Player in vehicle
    -Player not in vehicle

Engine mark:
    -Disable snow on map

Trigger:
    -Continue trigger actions execution only if value of variable 'A' is numeric
    -Continue trigger actions execution only if value of variable 'A' is alphabetic
    -Continue trigger actions execution only if value of variable 'A' is alphanumeric
    -Continue trigger actions execution only if value of variable 'A' contains value of variable 'B'
(for example if var A is bananashake and var B is 'banana' or 'nashak' or 'shake' then it will continue)
    -Respective 'do not continue' actions for these ones
    -Skip next trigger action if value of variable 'A' equal to value 'B'
    -Set current hit points of Character 'A's health to value of variable 'B'
    -Set current and max hit points of Character 'A's health to value of variable 'B'
    -Send value of variable 'A' with POST to URL stored in value of variable 'B'
    -Send GET for variable 'A' to URL stored in variable 'B' then store the response to value of variable 'A'


Engine Mark and Region activation ideas are already in game
Was formerly a T-ROBOT, im an Elite Grub now
User avatar
MLG COOL DOMINIK
Civil Security Lite [100]
 
Posts: 102
Joined: 25 June 2016, 21:39


Return to Level Editor

Who is online

Users browsing this forum: No registered users