how would i make a player get a new verb after a variable was made true
like if canfly =1 , mob gets the verb fly?
ID:270959
Nov 20 2006, 4:24 pm
|
|
Nov 20 2006, 4:25 pm
|
|
Add the verb to the verbs list (look it up if you don't know about it) when canfly becomes true. For example:
|
In response to DeathAwaitsU
|
|
mob Thats what i put so far i dont know what to do |
In response to ATS Studios
|
|
There is no point in using ==1 on a boolean variable (1 or 0).
You should be using if(variable) instead of ==1, and if(!variable) instead of ==0. It will lead to more robust code. |
In response to Xx Dark Wizard xX
|
|
so
would i write if(ldrive =1) //insert drive overlays here? |
In response to ATS Studios
|
|
no you would write...
if(!drive)
|