DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • November 15, 2018, 11:13:20 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Creature Variable  (Read 2452 times)
0 Members and 1 Guest are viewing this topic.
ChAoS
Guest
« on: April 06, 2005, 07:11:49 PM »

I am trying to add the creature name to the effect message of a drink. Is this correct?

You just served `2%s with a good dose of STFU


Logged
Berzerk
Guest
« Reply #1 on: April 06, 2005, 07:20:04 PM »

Umm I believe the code should be `2 [badguy] not `2%s. But I'm not sure what exactly your doing.

Also make sure to make the color change back to what ever it was otherwise the rest of the message will be that new color, unless you want it to be like that.
Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #2 on: April 06, 2005, 07:22:51 PM »

If you could post in the rest we may be able to help...

eg...

Code:
output("You must ready your %s`2 to defend yourself!",$session['user']['weapon']);
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
ChAoS
Guest
« Reply #3 on: April 06, 2005, 07:32:27 PM »

Since I don't know the game system I'm going to be asking stupid questions for a while so bear with me.

Basically I am in the drink editor

Effect message (see below)     You just served (monster name?) with a good dose of STFU

Logged
Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #4 on: April 06, 2005, 07:36:23 PM »

Hmmm...

I don't THINK that calling that particular string is possible through the drinks editor....

I will have a bit of a play around and see what I can turn up..
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5479



View Profile WWW
« Reply #5 on: April 06, 2005, 08:55:15 PM »

Try:

Code:
You just served {badguy} with a good dose of STFU
Logged

Play the latest beta version here on DragonPrime
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
45 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search