Need Help I'm new
OddyOdding
29 Dec 2019, 11:57I have searched and read the tutotrials and the codes Github has given me and Im still confused.
I need some clarification on several things:
*The 'Use' Tab and how it works
*Flags
*Conversation with NPCs
*Javascript and how to use them
*Using Github
hegemonkhan
30 Dec 2019, 23:00the 'flags' are just Boolean VARIABLES:
Attribute VARIABLE examples:
// create ("tv")
tv.switchedon = true
// or:
tv.switchedon = false
// create ("orc")
orc.dead = false
// or:
orc.dead = true
room.visited = false
// or:
room.visited = true
player.flying = false
// or:
player.flying = true
player.poisoned = false
// or:
player.poisoned = true
to do these in the GUI/Editor:
add new script -> 'variables' section/category -> 'set a variable or attribute' Script -> (see below)
examples:
set variable room.visited = [EXPRESSION] true
// or:
set variable room.visited = [EXPRESSION] false
set variable tv.switchedon = [EXPRESSION] true
// or:
set variable tv.switchedon = [EXPRESSION] false
set variable player.poisoned = [EXPRESSION] true
// or:
set variable player.poisoned = [EXPRESSION] false
set variable orc.dead = [EXPRESSION] true
// or:
set variable orc.dead = [EXPRESSION] false