Quote:
Originally posted by psihunter
i was thinking for the Pirate ship it could disapear on command and only pirates can see it and walk on it + while on the boat they are invisiable
(but im NPC stupid and duno how to do this)
|
NPC Code:
timeout=.1;
if (!strequals(#g,Pirate)) {
hidelocal; // Make the pirate ship invisible to the player
// If the player is not in the guild "Pirate"
}
if (timeout) {
if (strequals(#g,Pirate)) {
hideplayer 0.1; // Hide the player if the player is in
// the guild Pirate.
}
timeout=.1;
}
This should work for you, psihunter.
