Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how do i make a "Poofer" ?
burge4150 Offline
Member

Posts: 56
Threads: 15
Joined: Feb 2014
Reputation: 0
#11
RE: how do i make a "Poofer" ?

Yep, but he said he wanted to do with dynamically with a script, so we were looking at other ways to accomplish this.
08-20-2014, 05:44 PM
Find
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#12
RE: how do i make a "Poofer" ?

(08-20-2014, 04:52 PM)giacomo9 Wrote: I want use this script: void SetEnemyIsHallucination(string& asName, bool abX);

But I don't know what is "string& asName" (It must be "Player" or enemy name?)
"bool abx" is the distance, I know. In quotes I just must to write number?

Or, simpler, can you write a example of this script for me? Thanks Big Grin

SetEnemyIsHallucination("scary_monster_name", true);
Replace scary monster name with the actual monster's name

A string is a set of characters inside quotation marks (scary_monster_name). It must have the quotes around it.
A bool (boolean) is a set value of true or false, not distance Smile

[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 08-21-2014, 05:09 PM by CarnivorousJelly.)
08-20-2014, 11:09 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#13
RE: how do i make a "Poofer" ?

(08-20-2014, 05:44 PM)burge4150 Wrote: Yep, but he said he wanted to do with dynamically with a script, so we were looking at other ways to accomplish this.

That's right! Smile

but I cannot figure out any scenario where you wouldn't have the monster in editor anyway, so why not just tick it?

Unless the scenario is that it's not a poofer, until a certain thing has happened. Then the range can STILL be editted in the monsters properties ^_^

So what everyone else said. Yup, string = letters = the monsters name.

Trying is the first step to success.
(This post was last modified: 08-21-2014, 10:49 AM by FlawlessHappiness.)
08-21-2014, 10:47 AM
Find




Users browsing this thread: 1 Guest(s)