Search found 135 matches
- Tue Jan 27, 2015 11:45 am
- Forum: Modding
- Topic: CODING ADVICE NEEDED!
- Replies: 7
- Views: 8258
CODING ADVICE NEEDED!
I have written the following script that makes a random champion say something when triggered: function champspeech() x = math.random(1,4) if party:getChampion(x):isAlive() then local Name1 = party:getChampion(x):getName() hudPrint(""..Name1.." whispers: WHAT was that?..") playSo...
- Wed Jan 07, 2015 1:41 pm
- Forum: Modding
- Topic: [MOD] Ogre v1.2 final version
- Replies: 46
- Views: 78956
Re: [MOD] Ogre v1.2 final version
Hi. Do the following: As soon as you enter the door that leads onto the 4 open pits, there is a secret button on the wall to your right. This closes the first pit. Step onto the closed pit. On the wall to your right is a secret button. This closes the next pit (number 2). Stand on the closed 2nd pit...
- Sun Jan 04, 2015 12:25 pm
- Forum: Modding
- Topic: [MOD] Ogre v1.2 final version
- Replies: 46
- Views: 78956
Re: [MOD] Ogre v1.2 final version
Hi. Hope you are enjoying it. The answer to your problem: On level 4, the door with the small window is opened by a pressure plate. The pressure plate sets off a timer, giving you a short time to get back to the door before it closes. To find the pressure plate (which is hidden behind a secret wall)...
- Wed Dec 17, 2014 11:39 am
- Forum: Modding
- Topic: [MOD] Ogre v1.2 final version
- Replies: 46
- Views: 78956
Re: [MOD] Ogre v1.2 final version
HI Duke, glad you like it. Working on a sequel right now. In answer to your question, there is a gear key on levels 2,3,4, and 5. If it is the one on level 5 (ice level) that you are looking for, do the following: at the start of the level, when you first come down the stairs and turn into the passa...
- Tue Dec 09, 2014 12:21 pm
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
That`s great! Thank you so much
George
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
George
- Sun Dec 07, 2014 4:11 pm
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
Very clever coding! How do you think of these things!? :o . Is it possible to refine it? I mean, in it`s present state, the item can be removed from one champion but triggers the "cannot use "message when you try to equip another champion with it. But is it possible to code it so that the ...
- Sat Dec 06, 2014 11:07 am
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
Thanks for that. I`m sure I tried that code before but couldn't get it to work! Works now, so I've just adapted it for my game. Appreciate the help. While I'm on here, I've asked this question before but no one responded: How do you stop a player swapping items from one champion to another? I'm thin...
- Thu Dec 04, 2014 1:43 pm
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
That code. Are you talking about LOG 2 here, as I don't recognise the creature or class? I`m coding a LOG 1 game... Ive tried everything. Cant get the UiName or UIName to work, so ive changed my code now so that it prints out the name of the champion who has lost something instead: cloneObject{ name...
- Thu Dec 04, 2014 12:58 am
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
Yeh, just checked out your vid. That's what I want it to do..I`ve copied/pasted your code exactly, but it just crashes to desktop when it is supposed to remove an item and print the message. By the way, what's the diff between removeItem() and removeItemFromSlot(), as they both seem to work?
george
george
- Thu Dec 04, 2014 12:06 am
- Forum: Modding
- Topic: Coding advice needed
- Replies: 15
- Views: 14527
Re: Coding advice needed
Hi. Tried that. Still crashes to desktop. If its any help, I`ve cloned a green slime but just altered the ondealDamage part and attack power and accuracy. Would this cause the problem? Without using the "getUIName" part in the code, the items are removed and the message "An item has b...